pod The dependency `AFNetworking (~> 3.1.0)` is not used in any concrete target.

在执行 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了。

成功页面

你可能感兴趣的:(pod The dependency `AFNetworking (~> 3.1.0)` is not used in any concrete target.)