Cannot install Alamofire 4.0 in Xcode 8.0 Using CocoaPods

前端 未结 2 1074
攒了一身酷
攒了一身酷 2021-01-19 07:37

I need to upgrade one project to Swift 3.0, that has some libraries by Cocodpods. So, I\'ve removed all links related with Cocoapods and recreate pod file using pod init and

2条回答
  •  太阳男子
    2021-01-19 07:44

    Since you have an outdated pod repo, pod install getting failed. First of all you have to update your pod master repo before running pod install. Follow the steps given to update your pod repo and resolve the pod error.

    • Go to Cocoa Pods repo folder (~/.cocoapods/repos) and delete master folder
    • Run pod update on terminal. This will take several minutes to update pod repo.
    • When update get finished, run pod install (if required).

    Hope this would be useful for those who are getting similar error :)

提交回复
热议问题