使用cocapods报错 [!] Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes
2017-04-06 11:41
1316 查看
从github上下载的工程大部分都使用了cocapods,在install的时候可能会报错。报错原因:1、不要使用文本编辑去编辑Podfile文件,使用Xcode编辑,或者使用终端敲命令去编辑。2、Podfile 的内容语法格式有问题记录下修改的步骤方便查找。
1. cd 进入到工程目录2.vim podfile 。进入到podfile文件中,对podfile文件进行编辑3.按 i 键,进入编辑状态4. 在pod ‘ ’ v2.0.2 最上面添加一行命令 target 'xxxxx' do , xxxxx代表工程的名字。5.在pod ‘ ’ v2.0.2 最下面添加一行命令 end6.按键ESC,输入命令 :wq ,保存并退出7. 再 pod install 即可。
1. cd 进入到工程目录2.vim podfile 。进入到podfile文件中,对podfile文件进行编辑3.按 i 键,进入编辑状态4. 在pod ‘ ’ v2.0.2 最上面添加一行命令 target 'xxxxx' do , xxxxx代表工程的名字。5.在pod ‘ ’ v2.0.2 最下面添加一行命令 end6.按键ESC,输入命令 :wq ,保存并退出7. 再 pod install 即可。
相关文章推荐
- Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextE
- Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextE
- Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextE
- Your Podfile has had smart quotes sanitised. To avoid issues in the
- - Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.
- Write Code as If You Had to Support It for the Rest of Your Life
- Recover a file even if it was not committed but it has to have been added when you use git reset head by mistake.
- Write Code As If You Had to Support It for the Rest of Your Life
- Write Code As If You Had to Support It for the Rest of Your Life
- Are you looking for a way to get the entire text of a word document into a RichEdit without using the Clipboard?
- The service cannot be activated because it does not support ASP.NET compatibility. ASP.NET compatibility is enabled for this application. Turn off ASP.NET compatibility mode in the web.config or add the AspNetCompatibilityRequirements attribute to the ser
- ERROR 1862 (HY000): Your password has expired. To log in you must change it using a client that supp
- 解决Genymotion模拟器无法使用问题“the file is currupt”,“uable to boot-please use a kernel appropriate for your c
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- The database has local access protection and you are not authorized to access it locally
- Your Podfile has had smart quotes sanitised
- Your password has expired. To log in you must change it using a client that supports expired passwor
- ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
- "Your computer could not be joined to the domain. You have exceeded the maximum number of computer accounts you are allowed to create in this domain. Contact your system administrator to have this limit reset or increased."