xcrun: Error: failed to exec real xcrun. (No such file or directory)

大兔子大兔子 提交于 2019-11-30 04:54:44
nick

The only fix is hack apparently. I tried the script mentioned and it worked

OSX 10.8 xcrun (No such file or directory)

Evan McEwen

I had the same problem. Originally I was doing the following for my xcode-switch:

$ sudo xcode-select -switch /Applications/Xcode.app/

However what was really needed was:

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

This fixed the problem for me. Not sure if sudo is needed.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!