低版本的cocoapods的Podfile文件pod install能够正常运行ios
platform :ios, '8.0' pod 'AFNetworking'
高版本的cocoapods的Podfile文件必须添加targetorm
platform :ios, '8.0' target "targetName" do pod 'AFNetworking' end