Updating to latest version of CocoaPods?

前端 未结 12 1892
误落风尘
误落风尘 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:01

    Below are steps to update cocoapods :

    1. Open terminal (Shortcut : Press cmd + space tab to open Spotlight then text in terminal)
    2. Use command sudo gem install cocoapods. This will ask for system password due to security concern thereafter it installs gems

    1. Now, set up pod using pod setup command. This will setup cocoapods master repo.

    1. You can check the version of cocoapods using pod --version command.

提交回复
热议问题