低版本的cocoapods的Podfile文件pod install可以正常运行
platform :ios, '8.0'
pod 'AFNetworking'
高版本的cocoapods的Podfile文件必须添加target
platform :ios, '8.0'
target "targetName" do
pod 'AFNetworking'
end
低版本的cocoapods的Podfile文件pod install可以正常运行
platform :ios, '8.0'
pod 'AFNetworking'
高版本的cocoapods的Podfile文件必须添加target
platform :ios, '8.0'
target "targetName" do
pod 'AFNetworking'
end
转载于:https://www.cnblogs.com/feiling/p/5675781.html