1.無法pod框架
[!] Pods written in Swift can only be integrated as frameworks; add use_frameworks!
to your Podfile or target to opt into using it. The Swift Pod being used is: Charts
加上use_frameworks! 感嘆號為英文狀態(tài) !
use_frameworks!
pod 'FMDB'
pod ‘Charts’
2.警告
[!] 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文件里面編輯 選擇用終端編輯
3:Error fetching http://ruby.taobao.org/:
bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)
解決方案:把安裝流程中 $gem sources -a http://ruby.taobao.org/ ---改為---->$gem sources -a https://ruby.taobao.org/
4:ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/pod
解決方案:蘋果系統(tǒng)升級OS X EL Capitan后會出現(xiàn)的插件錯(cuò)誤,將安裝流程 4.安裝CocoaPods 的 (1)sudo gem install cocoapods ——>改為sudo gem install -n /usr/local/bin cocoa pods
5:[!] Unable to satisfy the following requirements: - AVOSCloud (~> 3.1.6.3)
required by Podfile
Specs satisfying the AVOSCloud (~> 3.1.6.3)
dependency were found, but they required a higher minimum deployment target.
解決方案:安裝流程:Podfile文件 中 platform:ios, ‘6.0’ 后邊的 6.0 是平臺版本號 筐喳,一定要加上