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

后端 未结 12 1068
傲寒
傲寒 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:25

    You have to specify a target for each pod.

    e.g. if before you had your Podfile written like this:

    pod 'Alamofire', '~> 3.1.4'
    pod 'SwiftyJSON', '~> 2.3.2'
    

    just change it to

    target "TargetName" do
        pod 'Alamofire', '~> 3.1.4'
        pod 'SwiftyJSON', '~> 2.3.2'
    end
    

提交回复
热议问题