Updating to latest version of CocoaPods?

前端 未结 12 1909
误落风尘
误落风尘 2020-12-07 07:46

I\'m having some issues installing Alamofire 4.0 into my project.

I\'ve got the latest version of Xcode, running Swift 3

12条回答
  •  心在旅途
    2020-12-07 08:00

    Execute the following on your terminal to get the latest stable version:

    sudo gem install cocoapods
    

    Add --pre to get the latest pre release:

    sudo gem install cocoapods --pre
    

    If you originally installed the cocoapods gem using sudo, you should use that command again.

    Later on, when you're actively using CocoaPods by installing pods, you will be notified when new versions become available with a CocoaPods X.X.X is now available, please update message.

提交回复
热议问题