美文网首页
cocoapod报错

cocoapod报错

作者: archyly | 来源:发表于2017-03-31 13:24 被阅读13次

bogon:imate anran$ pod install

xcrun: error: active developer path ("/Applications/Xcode7.2.1.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)

xcrun: error: active developer path ("/Applications/Xcode7.2.1.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)

Setting up CocoaPods master repo

xcrun: error: active developer path ("/Applications/Xcode7.2.1.app/Contents/Developer") does not exist, use `xcode-select --switch path/to/Xcode.app` to specify the Xcode that you wish to use for command line developer tools (or see `man xcode-select`)

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

解决方法:sudo xcode-select-switch/Applications/Xcode.app/Contents/Developer

相关文章

网友评论

      本文标题:cocoapod报错

      本文链接:https://www.haomeiwen.com/subject/uyfvottx.html