xcrun: Error: could not stat active Xcode path ‘/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer’. (No such file or directory)

Solution #1 (affects all users) xcode-select is the answer. You are either pointing at the wrong path or you are not doing it as a root user. Try this in Terminal: sudo xcode-select -switch /Applications/Xcode.app and then type your password. Solution #2 (affects only you) If you don’t want to sudo, or you don’t have … Read more