facebookarchive/xctool

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Platform 'iphoneos' is not yet supported.'

lidongyangLeo opened this issue · 1 comments

how to solve it ?

  [Info] Collecting info for testables... (860 ms)
2017-07-02 21:40:35.705 xctool[4561:336388] *** Assertion failure in -[SimulatorInfo sdkInfoForSimulatedSdk], /tmp/xctool-20161113-10169-11qccdv/xctool-0.3.1/xctool/xctool/SimulatorWrapper/SimulatorInfo.m:274
2017-07-02 21:40:35.706 xctool[4561:336388] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Platform 'iphoneos' is not yet supported.'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fffb25c837b __exceptionPreprocess + 171
	1   libobjc.A.dylib                     0x00007fffc73bc48d objc_exception_throw + 48
	2   CoreFoundation                      0x00007fffb25cd082 +[NSException raise:format:arguments:] + 98
	3   Foundation                          0x00007fffb4014ce0 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
	4   xctool                              0x000000010c2f4899 -[SimulatorInfo sdkInfoForSimulatedSdk] + 472
	5   xctool                              0x000000010c2f4678 -[SimulatorInfo simulatedSdkName] + 150
	6   xctool                              0x000000010c2e251d +[RunTestsAction commonOCUnitEventInfoFromTestableExecutionInfo:action:] + 231
	7   xctool                              0x000000010c2e27a5 +[RunTestsAction eventForBeginOCUnitFromTestableExecutionInfo:action:] + 50
	8   xctool                              0x000000010c2e2f68 __158-[RunTestsAction blockForTestable:focusedTestCases:allTestCases:testableExecutionInfo:testableTarget:isApplicationTest:arguments:environment:testRunnerClass:]_block_invoke + 486
	9   xctool                              0x000000010c2e527b __56-[RunTestsAction runTestables:options:xcodeSubjectInfo:]_block_invoke.469 + 343
	10  xctool                              0x000000010c2e54d7 __56-[RunTestsAction runTestables:options:xcodeSubjectInfo:]_block_invoke.491 + 90
	11  libdispatch.dylib                   0x00007fffc7c74524 _dispatch_call_block_and_release + 12
	12  libdispatch.dylib                   0x00007fffc7c6b8fc _dispatch_client_callout + 8
	13  libdispatch.dylib                   0x00007fffc7c816f1 _dispatch_queue_serial_drain + 209
	14  libdispatch.dylib                   0x00007fffc7c74306 _dispatch_queue_invoke + 1046
	15  libdispatch.dylib                   0x00007fffc7c7a020 _dispatch_queue_override_invoke + 369
	16  libdispatch.dylib                   0x00007fffc7c6d6b5 _dispatch_root_queue_drain + 476
	17  libdispatch.dylib                   0x00007fffc7c6d48c _dispatch_worker_thread3 + 99
	18  libsystem_pthread.dylib             0x00007fffc7eba616 _pthread_wqthread + 1299
	19  libsystem_pthread.dylib             0x00007fffc7eba0f1 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Testing on real devices isn't supported. Try specifying simulators via -destination argument.