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开发 开发者
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!报错问题如何解决
1031 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升级方案与爱思助手方法比较
1717 0
|
iOS开发
iOS Error Domain=NSURLErrorDomain Code=-999
iOS Error Domain=NSURLErrorDomain Code=-999
476 0
|
移动开发 小程序 Android开发
支付宝小程序IOS连接mqtt接收AMQJS0007E Socket error
支付宝小程序IOS连接mqtt接收AMQJS0007E Socket error
603 0
|
iOS开发
iOS 逆向编程(Error)ssh_exchange_identification: read: Connection reset by peer
iOS 逆向编程(Error)ssh_exchange_identification: read: Connection reset by peer
354 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
194 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
240 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
908 0
|
iOS开发
HTML5_CSS3实现iOS Path菜单
在线演示 本地下载
1171 0
|
iOS开发 MacOS
iOS build error: framework not found FileProvider for architecture x86_64
最近升级mac OS 到 High Sierra之后 XCode并没有立马升级,还是xcode 8.x,编译的时候,出现这样的问题: iOS build error: framework not found FileProvider for architecture x86_64 解决办法:update XCode to 9.
1534 0

热门文章

最新文章