my App always crash for the first time be installed and lanunched when build with xcode 10, it works good for the next time or other。it also works good when i change back to build with xcode 9.Does anyone know why?
the crash report like:
Incident Identifier: 74775902-24B4-4268-AF14-3B13E8984562
CrashReporter Key: ba22fb3f7b46d11f661efb00c29c6d4f6ee6568c
Hardware Model: iPhone7,1
Process: jiuxian [1508]
Path: /private/var/containers/Bundle/Application/16AAAE45-1A49-4DA5-A177-8D50336169B4/jiuxian.app/jiuxian
Identifier: com.jiuxian.jiuxian
Version: 2018083002 (8.2.6)
Code Type: ARM-64 (Native)
Role: Non UI
Parent Process: launchd [1]
Coalition: com.jiuxian.jiuxian [1278]
Date/Time: 2018-09-25 21:08:17.4492 +0800
Launch Time: 2018-09-25 21:07:57.2416 +0800
OS Version: iPhone OS 12.0 (16A366)
Baseband Version: 7.10.00
Report Version: 104
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000023b335770
Termination Signal: Trace/BPT trap: 5
Termination Reason: Namespace SIGNAL, Code 0x5
Terminating Process: exc handler [1508]
Triggered by Thread: 0
0 libsystem_malloc.dylib 0x000000023b335770 nanov2_allocate_from_block$VARIANT$mp + 540
1 libsystem_malloc.dylib 0x000000023b335770 nanov2_allocate_from_block$VARIANT$mp + 540
2 libsystem_malloc.dylib 0x000000023b3349cc nanov2_allocate$VARIANT$mp + 140
3 libsystem_malloc.dylib 0x000000023b3348f0 nanov2_malloc$VARIANT$mp + 60
4 libsystem_malloc.dylib 0x000000023b34399c malloc_zone_malloc + 156
5 libsystem_malloc.dylib 0x000000023b3443ac malloc + 32
6 IOKit 0x000000023b9ea854 IOHIDEventSetAttributeData + 96
7 IOKit 0x000000023b9ea6ec IOHIDEventCreateWithBytes + 276
8 IOKit 0x000000023b9fe9ec IOHIDEventQueueDequeueCopy + 80
9 IOKit 0x000000023b9f2c30 __IOHIDEventSystemClientQueueCallback + 60
10 CoreFoundation 0x000000023b6cf3e4 __CFMachPortPerform + 188
11 CoreFoundation 0x000000023b6f6c30 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 56
12 CoreFoundation 0x000000023b6f637c __CFRunLoopDoSource1 + 440
13 CoreFoundation 0x000000023b6f1134 __CFRunLoopRun + 2140
14 CoreFoundation 0x000000023b6f05b8 CFRunLoopRunSpecific + 436
15 Foundation 0x000000023c0e46a4 -[NSRunLoop+ 34468 (NSRunLoop) runMode:beforeDate:] + 300
16 Foundation 0x000000023c0e4550 -[NSRunLoop+ 34128 (NSRunLoop) runUntilDate:] + 148
17 UIKitCore 0x0000000267f48ac0 -[UIEventFetcher threadMain] + 136
18 Foundation 0x000000023c2173b0 __NSThread__start__ + 1040
19 libsystem_pthread.dylib 0x000000023b3812fc _pthread_body + 128
20 libsystem_pthread.dylib 0x000000023b38125c _pthread_start + 48
21 libsystem_pthread.dylib 0x000000023b384d08 thread_start + 4