Xcodebuild needs to be called with xcrun