Xcodebuild error : Unable to find destination, returned exit code 70

EDIT Jan 16 2017: We no longer recommend using UUIDs to start simulators. The OS X image has been updated to resolve the underlying issue, and using UUIDs is no longer necessary. Please check out this post for examples of how to choose the simulators by name.


please rather use a simulator UUID than a name. I can’t explain why but sometimes they don’t work as well.

This should start and build your app with the iOS 9.3 iPhone 6 simulator:

set -o pipefail && xcodebuild -workspace 'pop_app_ios.xcworkspace' -scheme 'pop_app_ios' clean build test -sdk iphonesimulator -destination 'id=547B1B63-3F66-4E5B-8001-F78F2F1CDEA7' CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= PROVISIONING_PROFILE= | tee $CIRCLE_ARTIFACTS/xcode_raw.log | xcpretty --color --report junit --output $CIRCLE_TEST_REPORTS/xcode/results.xml


1 Like