xcode 更新后,pod install 失败

来源:互联网 发布:鼠标控制软件 编辑:程序博客网 时间:2024/06/05 11:01

错误信息:

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

解决方法:
1、执行命令 $ sudo xcode-select -switch /Applications/Xcode.app

2、输入密码

3、重新执行 $ pod install

0 0