The dependency `AFNetworking (~> 2.5)` is not used in any concrete target

后端 未结 1 431
北恋
北恋 2021-01-04 00:49

I want to install AFNetworking but I have a problem, how can I fix and install? I used Getting Started with AFNetworking :

1. Download CocoaPods

sudo         


        
相关标签:
1条回答
  • 2021-01-04 01:05

    Add:

    target 'MyApp' do
      pod 'AFNetworking', '~> 2.5'
    end
    

    See: https://guides.cocoapods.org/using/the-podfile.html

    Then run pod install from the project directory.

    0 讨论(0)
提交回复
热议问题