xcrun: Error: could not stat active Xcode
Do you often use xcodebuild for automated builds? So hear this out.
I’ve been using the v4.6 DP2/3/4 and migrated this week to the final release.
I’ve run into this error after upgrading and running a simple xcodebuild:
1 |
xcrun: Error: could not stat active Xcode path'/Applications/Xcode46-DP4.app/Contents/Developer' |
Xcode46-DP4.app ?! Easy one!
xcodebuild must point to the new Xcode instalation folder so run this command:
1 |
xcode-select --switch '/Applications/Xcode.app' |
Keep building!