-
Bug
-
Resolution: Unresolved
-
Critical
-
None
All guides say to put "test" under "Custom xcodebuild arguments" to run tests for the selected scheme.
However, if there's anything else in there (like -destination, CACHE_ROOT, etc.) then it still adds "build" to the command line and it will fail.
[sdk] $ /usr/bin/xcodebuild -scheme MyTests -sdk iphonesimulator8.1 -configuration Release build test -destination "name=iPhone 5"
...
xcodebuild: error: The scheme 'AurasmaSDKTests' is not configured for Running.
The scheme 'AurasmaSDKTests' has nothing configured to build for Running and has no executable specified to Run. Edit the scheme to configure the Run action.
Build step 'Xcode' marked build as failure