Список simcl xcrun: Ошибка подтверждения в NSDictionary
Видя ошибку, в то время как список xcrun simctl см. В журналах ошибок ниже, у кого-нибудь есть идея, почему я вижу это?
xcrun simctl list
2018-12-30 15:17:48.636 simctl[66720:6180396] *** Assertion failure in NSDictionary * _Nullable rock_XPCObjectToNSDictionary(xpc_object_t _Nonnull __strong, ROCKSessionManager * _Nullable __strong, NSError * _Nullable __autoreleasing * _Nullable)(), /BuildRoot/Library/Caches/com.apple.xbs/Sources/ROCKit/ROCKit-24/ROCKit/NSDictionary+ROCK.m:172
2018-12-30 15:17:48.636 simctl[66720:6180396] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'API VIOLATION: rock_XPCObjectToNSDictionary would have returned nil without an error set.'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff432cf43d __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff6f1dc720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff432ea08e +[NSException raise:format:arguments:] + 98
3 Foundation 0x00007fff456d563d -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:] + 166
4 ROCKit 0x00007fff667e3fc4 rock_XPCObjectToNSDictionary + 1979
5 CoreSimulator 0x000000010fa2cd3c __50-[SimDeviceSet subscribeToNotificationsWithError:]_block_invoke + 44
6 libxpc.dylib 0x00007fff704db605 xpc_array_apply + 57
7 CoreSimulator 0x000000010fa2c9ae -[SimDeviceSet subscribeToNotificationsWithError:] + 866
8 CoreSimulator 0x000000010f9fc9cd __45-[SimServiceContext deviceSetWithPath:error:]_block_invoke + 741
9 libdispatch.dylib 0x00007fff7025bdcb _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff70267a28 _dispatch_lane_barrier_sync_invoke_and_complete + 60
11 CoreSimulator 0x000000010f9fc516 -[SimServiceContext deviceSetWithPath:error:] + 249
12 CoreSimulator 0x000000010f9fc3f9 -[SimServiceContext defaultDeviceSetWithError:] + 71
13 simctl 0x000000010f98686f simctl + 67695
14 simctl 0x000000010f998b39 simctl + 142137
15 libdispatch.dylib 0x00007fff7025ad4f _dispatch_call_block_and_release + 12
16 libdispatch.dylib 0x00007fff7025bdcb _dispatch_client_callout + 8
17 libdispatch.dylib 0x00007fff70269e74 _dispatch_root_queue_drain + 671
18 libdispatch.dylib 0x00007fff7026a4b1 _dispatch_worker_thread2 + 90
19 libsystem_pthread.dylib 0x00007fff7049b6ee _pthread_wqthread + 619
20 libsystem_pthread.dylib 0x00007fff7049b415 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
1 ответ
Я должен был удалить свой xcode и установить новую копию, и ошибка исчезла, возможно, мой xcode был поврежден.