Cocoapods 错误

错误:

[!] 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`.

解决办法:

cd ~/.cocoapods/repos 
git clone https://github.com/CocoaPods/Specs.git master

错误:

Generating Pods project
[1]    9624 abort      pod install

解决办法:

pod setup
sudo gem install xcodeproj

你可能感兴趣的:(iOS)