终端输入 : 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 便可