Pod install displaying error in cocoapods version 1.0.0.beta.1

后端 未结 12 1036
傲寒
傲寒 2020-12-07 10:03

My podfile was working but after updating to cocoapods version 1.0.0.beta.1

pod install displays following error

MacBook-Pro:iOS-TuneIn home$ pod ins         


        
12条回答
  •  粉色の甜心
    2020-12-07 10:39

    you must add target 'your target' do and end around you pod like below.

    target 'your target' do
    pod 'AFNetworking', '2.6.3'
    pod 'MBProgressHUD', '~> 0.9.1'
    pod 'PDKeychainBindingsController', '~> 0.0.1'
    end
    

    plus: You may be need remove the pods dir, Podfile.lock and xcworkspace file, run the pod install again.

提交回复
热议问题