Unable to add a source with url

后端 未结 12 1242
庸人自扰
庸人自扰 2021-02-04 01:19

[!] Unable to add a source with url git@github.com:CocoaPods/Specs.git named master-1. You can try adding it manually in ~/.cocoapods/repos

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-04 02:00

    1. $ cd /Users/username/.cocoapods/repos
    2. remove folder master if it exists
      rm -rf master
      $ git clone https://github.com/CocoaPods/Specs.git master
    3. pod setup

    that's all.

提交回复
热议问题