cocoapods问题Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`
2016-09-30 00:00
916 查看
终端中:pod install 后出现:
Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
按照提示:pod repo add master https://github.com/CocoaPods/Specs.git
仍然不行,是因为安装多个xcode导致路径改变
解决: sudo xcode-select -switch 后面当前xcode路径
Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
You can try adding it manually in `~/.cocoapods/repos` or via `pod repo add`.
按照提示:pod repo add master https://github.com/CocoaPods/Specs.git
仍然不行,是因为安装多个xcode导致路径改变
解决: sudo xcode-select -switch 后面当前xcode路径
pod update --no-repo-update
pod install --verbose --no-repo-update
即可成功。相关文章推荐
- Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1`.
- Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master-1
- 芒果iOS开发之Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named `master`.
- iOS - 解决Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named
- iOS - 解决Unable to add a source with url `https://github.com/CocoaPods/Specs.git` named
- unable to access 'https://github.com/CocoaPods/Specs.git/': SSLRead() return error -9806
- [!] /usr/bin/git clone https://github.com/CocoaPods/Specs.git master Cloning
- [!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url ...
- CocoaPods解决Unable to add a source with url
- cocoaPods报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)
- Trigger script exited with code: 1 From https://github.com/CocoaPods/Specs 9967bbf..de7b3da master -
- cocoaPods报错([!] /usr/bin/git clone 'https://github.com/CocoaPods/Specs.)
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url
- CocoaPods解决Unable to add a source with url
- CocoaPods 问题:cocoapods was not able to update the 'master' repo
- git push fatal: unable to connect to github.com问题