2015-05-30 94 views
4

我試用sinch sdk。我想與它一起使用cocoapods。我繼續並將podfile添加到我的原始項目所在的目錄中。當我運行「pod install」時,出現以下錯誤。cocoapods 0.37.2「pod安裝」期間出錯

MIGUELs-MacBook-Pro:messaging miguel$ pod install 
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.37.2/lib/cocoapods-core/standard_error.rb:88:in `message': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError) 
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:367:in `handle_exception' 
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:315:in `rescue in run' 
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:303:in `run' 
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.37.2/lib/cocoapods/command.rb:46:in `run' 
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.37.2/bin/pod:44:in `<top (required)>' 
from /usr/bin/pod:23:in `load' 
from /usr/bin/pod:23:in `<main>' 

同樣的情況,如果我嘗試做「莢更新」

什麼可能我是做錯了什麼?

任何幫助或指針將不勝感激

回答

15

好了,我分析了我「podfile並注意到了(')是錯誤的。如果有人正面臨着這個問題,確保正確的是盈方和最終加入按(控制和「)每個圖書館的。

hoep它可以幫助那裏的人

+1

謝謝,只是爲了清楚起見,問題在取消對第二條線時,他自動生成莢文件來指定iOS平臺(默認爲6.0)來了。 (')是非標準的,你必須修復它們。 – FrizzTheSnail