崩溃信息
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSXPCDistantObject ___nsx_pingHost:]: unrecognized selector sent to instance 0x600000865720'
*** First throw call stack:
(
0 CoreFoundation 0x0000000112041fba __exceptionPreprocess + 242
1 libobjc.A.dylib 0x000000011055aff5 objc_exception_throw + 48
2 CoreFoundation 0x0000000112050d2f +[NSObject(NSObject) instanceMethodSignatureForSelector:] + 0
3 CoreFoundation 0x00000001120464cf ___forwarding___ + 1455
4 CoreFoundation 0x00000001120487a8 _CF_forwarding_prep_0 + 120
5 ExtensionKit 0x00000001262134ab -[EXExtensionContextImplementation _willPerformHostCallback:] + 172
6 ExtensionKit 0x00000001262159f1 __112-[EXConcreteExtensionContextVendor _beginRequestWithExtensionItems:listenerEndpoint:withContextUUID:completion:]_block_invoke + 988
7 libdispatch.dylib 0x00000001187e770d _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00000001187e88df _dispatch_client_callout + 8
9 libdispatch.dylib 0x00000001187eee15 _dispatch_lane_serial_drain + 715
10 libdispatch.dylib 0x00000001187ef98c _dispatch_lane_invoke + 400
11 libdispatch.dylib 0x00000001187f9f81 _dispatch_workloop_worker_thread + 772
12 libsystem_pthread.dylib 0x0000000118cb64c0 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x0000000118cb5493 start_wqthread + 15
)
libc++abi: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[_NSXPCDistantObject ___nsx_pingHost:]: unrecognized selector sent to instance 0x600000865720'
_LSContextInitReturningError() failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x15dde658 ed2a1267 ab2496d7 34f186ad ... ec431c65 02d68f35 }, _LSLine=409, WrongSimulatorHash={length = 32, bytes = 0xaf25dda9 e45baa35 610eaabd 5bc09901 ... 9cbe61f3 81d7b9d9 }}
terminating with uncaught exception of type NSException
CoreSimulator 757.5 - Device: iPhone 11 (9E9D9755-A28B-4864-863A-1D22E0DD6997) - Runtime: iOS 14.5 (18E182) - DeviceType: iPhone 11
预览出现错误
RemoteHumanReadableError
ProcessError: Failed to launch widget extension: The operation couldn’t be completed. (CHSErrorDomain error 1050.)
解决方法
设置Containing App的Build Phases配置,勾选Copy only when installing