'~/.coapods/repos'에 수 동 으로 추가 할 수 있 습 니 다.

코코아 팟 오류
[!] 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 .
sudo xcode-select-r 이 걸 로 해결 해 주 셔 서 감사합니다. StackOverFlow:
http://stackoverflow.com/questions/29301785/unable-to-add-a-source-with-url
You may need to reset your command line tools:
sudo xcode-select -r I was receiving the same error message. Then I noticed, that the wrong Xcode environment was selected (it pointed to an old version which I deleted in the meantime). The command above resets it to the default command line path.
Alternatively you might have no command line tools installed. In that case, download them from the Apple site and install them.

원인:master 는 가장 근본 적 인 해결 방법 을 반복 합 니 다.1.master(위치:/Users/사용자 이름/.coapods/repos/master)2.pod setup 을 삭제 합 니 다.pod setup 이 제대로 사용 되 지 않 으 면:Git clonehttps://git.coding.net/CocoaPods/Specs.git ~/.coapods/repos/master 이 과정 은 pod setup 역할 과 같 습 니 다.
http://blog.csdn.net/u010046748/article/details/52681192

좋은 웹페이지 즐겨찾기