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

来源:4-1 使用CocoaPods

houdini

2016-07-07 12:18

install 的时候

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

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


写回答 关注

1回答

  • 慕粉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

    类似上面的格式

Swift Weather APP

本课程将带领大家使用Swift语言开发一个完整的天气 iOS APP

35555 学习 · 241 问题

查看课程