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

前端 未结 2 1041
野性不改
野性不改 2020-12-29 04:59

I\'ve upgraded OSX Lion to Mountain Lion and reinstalled the Command Line Tools (as the upgrade deleted them). From then xcrun does not work anymore. The xcode-select is set

相关标签:
2条回答
  • 2020-12-29 05:50

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

    OSX 10.8 xcrun (No such file or directory)

    0 讨论(0)
  • 2020-12-29 05:58

    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.

    0 讨论(0)
提交回复
热议问题