iOS开发-pod install 出错 The dependency `AFNetworking (~> 2.6.0)` is not used in any concrete target.

低版本的cocoapods的Podfile文件pod install能够正常运行ios

platform :ios, '8.0'
pod 'AFNetworking'

高版本的cocoapods的Podfile文件必须添加targetorm

platform :ios, '8.0'
target "targetName" do
pod 'AFNetworking'
end
相关文章
相关标签/搜索