Your Podfile has had smart quotes sanitised. To avoid issues in the
2017-04-29 21:35
621 查看
使用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,
Use Xcode to open Podfile and you will get correct quotes as following,
Terminal Commands:
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
相关文章推荐
- 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
- 使用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
- Your Podfile has had smart quotes sanitised
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- 126.Identify the two situations in which you use the alert log file in your database to check the de
- Configuring ELMAH to send emails without putting your password in the config file
- "The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods i"解决方法
- - 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.
- Source Insight in Ubuntu+Windows+Samba:has been changed outside of the editor. Do you want to reload the file?
- How to avoid Excel from prompting "The file you are trying to open, , is in a different format than specified by the file extension"? (转)
- method to The entitlements specified in your application’s Code Signing Entitlements file do not mat
- Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or
- 关于“This file has been modified outside of the source editor. Do you want to reload it?”错误的处理
- SharePoint Designer Check In and Check Out Error – Cannot perform this operation.The file is no longer check out or has been del
- Nmap in the Enterprise: Your Guide to Network Scanning
- Error: The project file ' ' has been renamed or is no longer in the solution
- How do I write a LINQ to Entities query which has the equivalent of the SQL “in” keyword?
- Error: The project file ' ' has been renamed or is no longer in the solution