更新CocoaPods

終端輸入 : sudo gem install -n /usr/local/bin cocoapods –prejavascript

 

更新了CocoaPods後,在原來的工程中執行了pod install命令後,報這樣的錯誤java

The dependency `FMDB (~> 2.3)` is not used in any concrete target.react

...ios

解決方法:vim

vim Podfileui

打開podfile,將內容改爲以下格式便可:spa

platform :ios, '8.0'orm

use_frameworks! #個別須要用到它,好比reactiveCocoaip

target 'MyApp' doget

  pod 'AFNetworking', '~> 2.6'

 end

 

保存退出後

執行 pod install 便可

相關文章
相關標籤/搜索