您的位置:首页 > 产品设计 > UI/UE

Your Podfile has had smart quotes sanitised. To avoid issues in the future, you should not use TextE

2016-04-18 11:58 746 查看
使用Cocoapods 导入第三方的资源时,出现如下警告:

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 in your editor of choice.

不要使用文本编辑去编辑Podfile,使用Xcode编辑,或者使用终端敲命令去编辑。

解决办法:

Using TextEdit will give you following, 
pod ‘Parse’, ‘~> 1.7.1
//notice the quotes  注意 引号  ,
注意 引号 ,
注意 引号[/code]

Use Xcode to open Podfile and you will get correct quotes as following,
pod 'Parse', '~> 1.7.1'
//notice the quotes  注意 引号  ,
注意 引号 ,
注意 引号[/code]

Terminal Commands:
$ touch Podfile  //OR $ cd <parentDirectory of Podfile>
$ open -a Xcode Podfile
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: