问答详情
源自:4-1 使用CocoaPods

The dependency `AFNetworking` is not used in any concrete target.

install 的时候

The dependency `AFNetworking` is not used in any concrete target.

所以target应该填什么,项目名?


提问者:houdini 2016-07-07 12:18

个回答

  • 慕粉3629090
    2016-07-09 09:47:59

    source 'https://github.com/CocoaPods/Specs.git'
    platform :ios, '8.0' 
    use_frameworks!
    target 'ProjectName' do
        pod 'Alamofire', '~> 2.0'
        pod 'SwiftyJSON', '~> 2.3.0'
        pod 'FastImageCache', '~> 1.3', :inhibit_warnings => true
    end

    类似上面的格式