我的应用在10.14之前可以正常运行,但是在10.14.2应用中启动应用会崩溃。
Crashing on exception: -[_NSInlineData objectForKeyedSubscript:]: unrecognized selector sent to instance 0x60000200b480
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Illegal instruction: 4
Termination Reason: Namespace SIGNAL, Code 0x4
Terminating Process: exc handler [40794]
Application Specific Information:
Crashing on exception: -[_NSInlineData objectForKeyedSubscript:]: unrecognized selector sent to instance 0x60000200b480
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff37291ecd __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff63349720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff3730f275 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007fff37233b40 __forwarding__ + 1486
4 CoreFoundation 0x00007fff372334e8 _CF_forwarding_prep_0 + 120
5 One Chat 0x0000000101221247 One Chat + 848455
6 One Chat 0x00000001011e9f7e One Chat + 622462
7 libdispatch.dylib 0x00007fff643c8d53 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff643c9dcf _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff643d4f63 _dispatch_main_queue_callback_4CF + 1125
10 CoreFoundation 0x00007fff371db1ab _CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE_ + 9
11 CoreFoundation 0x00007fff371da8ba __CFRunLoopRun + 2335
12 CoreFoundation 0x00007fff371d9d48 CFRunLoopRunSpecific + 463
13 HIToolbox 0x00007fff36470ab5 RunCurrentEventLoopInMode + 293
14 HIToolbox 0x00007fff364707eb ReceiveNextEventCommon + 618
15 HIToolbox 0x00007fff36470568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
16 AppKit 0x00007fff3472b363 _DPSNextEvent + 997
17 AppKit 0x00007fff3472a102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
18 AppKit 0x00007fff34724165 -[NSApplication run] + 699
19 AppKit 0x00007fff347138a3 NSApplicationMain + 780
20 libdyld.dylib 0x00007fff64417ed9 start + 1
21 ??? 0x0000000000000001 0x0 + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.apple.AppKit 0x00007fff34b38a9b -[NSApplication _crashOnException:] + 109
1 com.apple.AppKit 0x00007fff34b3897e -[NSApplication reportException:] + 939
2 ws.appyogi.onechat 0x00000001012b5160 0x101152000 + 1454432
3 com.apple.AppKit 0x00007fff34bfa813 uncaughtErrorProc + 157
4 com.apple.CoreFoundation 0x00007fff37309301 __handleUncaughtException + 775
5 libobjc.A.dylib 0x00007fff6334bc81 _objc_terminate() + 91
6 ws.appyogi.onechat 0x00000001012b4ec4 0x101152000 + 1453764
7 libc++abi.dylib 0x00007fff61b4cdfe std::__terminate(void (*)()) + 8
8 libc++abi.dylib 0x00007fff61b4ce73 std::terminate() + 51
9 libdispatch.dylib 0x00007fff643c9de3 _dispatch_client_callout + 28
10 libdispatch.dylib 0x00007fff643d4f63 _dispatch_main_queue_callback_4CF + 1125
11 com.apple.CoreFoundation 0x00007fff371db1ab _CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE_ + 9
12 com.apple.CoreFoundation 0x00007fff371da8ba __CFRunLoopRun + 2335
13 com.apple.CoreFoundation 0x00007fff371d9d48 CFRunLoopRunSpecific + 463
14 com.apple.HIToolbox 0x00007fff36470ab5 RunCurrentEventLoopInMode + 293
15 com.apple.HIToolbox 0x00007fff364707eb ReceiveNextEventCommon + 618
16 com.apple.HIToolbox 0x00007fff36470568 _BlockUntilNextEventMatchingListInModeWithFilter + 64
17 com.apple.AppKit 0x00007fff3472b363 _DPSNextEvent + 997
18 com.apple.AppKit 0x00007fff3472a102 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
19 com.apple.AppKit 0x00007fff34724165 -[NSApplication run] + 699
20 com.apple.AppKit 0x00007fff347138a3 NSApplicationMain + 780
21 libdyld.dylib 0x00007fff64417ed9 start + 1
问题是什么,我该如何解决?