Skip to content

Instantly share code, notes, and snippets.

@fpotter
Created September 10, 2013 19:50
Show Gist options
  • Save fpotter/6514648 to your computer and use it in GitHub Desktop.
Save fpotter/6514648 to your computer and use it in GitHub Desktop.
$ ./xctool.sh -project xctool/xctool-tests/TestData/TestProject-Library/TestProject-Library.xcodeproj -scheme TestProject-Library test -sdk iphonesimulator
=== BUILDING XCTOOL ===
/Users/fpotter/xctool/build.sh
✓ Built xctool (1000 ms)
[Info] Loading settings for scheme 'TestProject-Library' ... (462 ms)
=== TEST ===
xcodebuild build build
TestProject-Library / TestProject-Library (Debug)
✓ Check dependencies (23 ms)
[Info] Collecting info for testables...2013-09-10 12:45:07.678 xctool[19876:907] *** Assertion failure in +[TestableExecutionInfo testableBuildSettingsForProject:target:objRoot:symRoot:sharedPrecompsDir:xcodeArguments:testSDK:], /Users/fpotter/xctool/xctool/xctool/TestableExecutionInfo.m:104
2013-09-10 12:45:07.679 xctool[19876:907] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Should only have build settings for a single target.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff995e641c __exceptionPreprocess + 172
1 libobjc.A.dylib 0x00007fff974aee75 objc_exception_throw + 43
2 CoreFoundation 0x00007fff995e61f8 +[NSException raise:format:arguments:] + 104
3 Foundation 0x00007fff93ec8c61 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 189
4 xctool 0x000000010a4ee5fc +[TestableExecutionInfo testableBuildSettingsForProject:target:objRoot:symRoot:sharedPrecompsDir:xcodeArguments:testSDK:] + 687
5 xctool 0x000000010a4ee20a +[TestableExecutionInfo infoForTestable:xcodeSubjectInfo:xcodebuildArguments:testSDK:] + 266
6 xctool 0x000000010a4df0e1 __56-[RunTestsAction runTestables:options:xcodeSubjectInfo:]_block_invoke + 81
7 libdispatch.dylib 0x00007fff8d5f91d7 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff8d5f62ad _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff8d5f868f _dispatch_queue_drain + 451
10 libdispatch.dylib 0x00007fff8d5f99dd _dispatch_queue_invoke + 110
11 libdispatch.dylib 0x00007fff8d5f7fa3 _dispatch_root_queue_drain + 75
12 libdispatch.dylib 0x00007fff8d5f9193 _dispatch_worker_thread2 + 40
13 libsystem_pthread.dylib 0x00007fff92dcff08 _pthread_wqthread + 314
14 libsystem_pthread.dylib 0x00007fff92dd2fc9 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
./xctool.sh: line 54: 19876 Abort trap: 6 "$XCTOOL_DIR"/build/$REVISION/Products/Release/bin/xctool "$@"
fpotter-mbp:xctool fpotter$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment