之前有人问过这个问题,但这里没有解决。
我在这里尝试了解决方案,但它并没有解决问题。
我收到此错误:
xcrun: error: active developer path ("/Applications/Xcode 2.app/Contents/Developer") does not exist, use xcode-select to change
活跃的开发者路径不应该是“Xcode 2.app ”,而是“Xcode.app”。
我的问题是:如何将活动路径更改为“Xcode.app”?
我已经尝试了以下方法:
$> xcode-select -switch /Applications/Xcode.app/Contents/Developer
$> xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
我已经尝试重新安装 Xcode,但问题仍然存在。