問題一:終端顯示:[!] 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編輯窄刘,或者使用終端vi命令去編輯』铘妫或者輸入格式錯(cuò)誤翻伺,沒輸入運(yùn)行版本:$platform:ios, ‘8.0‘
問題二:在運(yùn)行Podfile報(bào)錯(cuò):[!] Invalid `Podfile` file: syntax error, unexpected ':', expecting end-of-input ?platform : iOS
解決:由于Podfile中文本格式不對(duì)導(dǎo)致,重新在vi命令下去編輯文本拉宗。
問題三:當(dāng)輸入pod install命令:cocoadPod updating local specs repositories 卡住
解決:pod install? 換成pod install --verbose --no-repo-update這個(gè)命令旦事,前面的命令被墻了急灭。