Xcodebuild Error in Xcode 7.3

We recently updated Xcode to version 7.3. Since then, the xcodebuild command does not work when performing a test action on the device. Testing through the Xcode interface works without problems

There is an exception:

2016-03-28 08:27:24.129 xcodebuild[20029:9747786]  DVTAssertions: ASSERTION FAILURE in   /Library/Caches/com.apple.xbs/Sources/DVTFrameworks/DVTFrameworks-10174/DVTFoundation/Utilities/DVTTask.m:252
Details:  The launch path must be set before launching.
Object:   <DVTiPhoneTask: 0x7fd96a67b8d0>
Method:   -launchRunningTerminationHandlerOnQueue:error:terminationHandler:
Thread:   <NSThread: 0x7fd969c53870>{number = 57, name = (null)}
Hints: None

This example runs:

xcodebuild -workspace `pwd`/iComposer.xcworkspace -scheme XXXXXXX -configuration Debug -destination 'platform=iOS,id=XXXXXXX' CONFIGURATION_BUILD_DIR=`pwd`/Builds/

This fails (note the "test"):

xcodebuild -workspace `pwd`/iComposer.xcworkspace -scheme XXXXXXX -configuration Debug -destination 'platform=iOS,id=XXXXXXX' CONFIGURATION_BUILD_DIR=`pwd`/Builds/ test
+4
source share

All Articles