iOS 不要用文本编辑pod file
生活随笔
收集整理的這篇文章主要介紹了
iOS 不要用文本编辑pod file
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
不要使用TextEdit編輯PodFile文件
? ? ?有時候我們圖方便,直接使用TextEdit編輯PodFile文件,執行pod install 時報錯:
?
[!] Smart quotes were detected and ignored in your Podfile. 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.
?
還是乖乖的使用命令吧:
vim Podfile----打開文件
輸入i---------進入編輯模式
按鍵盤Esc,輸入大寫ZZ-----保存退出
pod install----------下載
總結
以上是生活随笔為你收集整理的iOS 不要用文本编辑pod file的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: iOS pod init 报错
- 下一篇: 网上支付、协议支付与快捷支付区别