iOS xcrun: error: active developer path

简介: iOS xcrun: error: active developer path

``` Error :


xcrun: error: active developer path ("/Applications/Xcode8.1.app/Contents/Developer") does not exist, use sudo 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) ```


该错误是Xcode路径错误,打开终端输入命令行


xcode-select -switch /Applications/Xcode.app/Contents/Developer


如果出现 Error :


xcode-select: error: --switch must be run as root (e.g. `sudo xcode-select --switch `).


则需要这样输入 :


sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer


注意: 其中路径中的 Xcode.app 有的人修改了 Xcode 的名称需要改成对应的名称


例如:我把 Xcode 改成 Xcode8.1 在路径中就是


/Applications/Xcode8.1.app/Contents/Developer


这个知道就可以了 一般没人去改名称


相关文章
|
iOS开发
iOS Error Domain=NSURLErrorDomain Code=-999
iOS Error Domain=NSURLErrorDomain Code=-999
328 0
|
9月前
|
iOS开发 开发者
uniapp开发ios打包Error code = -5000 Error message: Error: certificate file(p12) import failed!报错问题如何解决
uniapp开发ios打包Error code = -5000 Error message: Error: certificate file(p12) import failed!报错问题如何解决
490 67
uniapp开发ios打包Error code = -5000 Error message: Error: certificate file(p12) import failed!报错问题如何解决
|
安全 Go 数据安全/隐私保护
免费升级到 iOS 17 Developer Beta:官方Apple Store升级方案与爱思助手方法比较
免费升级到 iOS 17 Developer Beta:官方Apple Store升级方案与爱思助手方法比较
1129 0
|
移动开发 小程序 Android开发
支付宝小程序IOS连接mqtt接收AMQJS0007E Socket error
支付宝小程序IOS连接mqtt接收AMQJS0007E Socket error
376 0
|
iOS开发
iOS 逆向编程(Error)ssh_exchange_identification: read: Connection reset by peer
iOS 逆向编程(Error)ssh_exchange_identification: read: Connection reset by peer
236 0
|
iOS开发
you must have accepted the latest version of the IOS Developer Program Agreement
you must have accepted the latest version of the IOS Developer Program Agreement
126 0
you must have accepted the latest version of the IOS Developer Program Agreement
|
图形学 iOS开发
ios app 上传时 ERROR ITMS-90096
ios app 上传时 ERROR ITMS-90096
122 0
ios app 上传时 ERROR ITMS-90096
|
Android开发 iOS开发
iOS配置证书:Provisioning profile "xx_Distribution" doesn't include signing certificate "iPhone Developer
iOS配置证书:Provisioning profile "xx_Distribution" doesn't include signing certificate "iPhone Developer
714 0
|
iOS开发
HTML5_CSS3实现iOS Path菜单
在线演示 本地下载
1082 0
|
iOS开发 编译器 开发工具

热门文章

最新文章