在执行 pod install 命令后,遇到下面的错误:

检查了 Podfile 文件,里面是这样写的:
platform :ios, ‘7.0’
pod 'AFNetworking', '~> 3.1.0’
然后改成下面这样(target后面的 FFFramework 是你工程里面的 Target 名称)
platform :ios, ‘7.0’
target 'FFFramework' do
pod 'AFNetworking', '~> 3.1.0’
end
然后执行 pod install,就OK了。

网友评论