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

[!] Smart quotes were detected and ignored in your Podfile. To avoid issues in the future, you should not use TextEdit for editing it. If you are not using TextEdit, you should turn off smart quotes in your editor of choice.
localhost:LawCase affee$ sudo xcode-select -switch /Applications/Xcode.app

localhost:LawCase affee$ sudo xcode-select -switch /Applications/Xcode.app
Password:
localhost:LawCase affee$ pod install

/Applications/Xcode.app 这个是自己xcode的位置,直接从访达的应用程序中拖就可以了

 

我的是由于装了两次xcode,又一次没有安装好,把没装好的xcode删除,后面的经过上面处理就好了。还有一种是路径问题

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐