Objective-C Mapview在IPA上崩溃(appstore版本)Xcode 9运行良好[重复]

丈夫志四海,万里犹比邻。这篇文章主要讲述Objective-C Mapview在IPA上崩溃(appstore版本)Xcode 9运行良好[重复]相关的知识,希望能为你提供帮助。
【Objective-C Mapview在IPA上崩溃(appstore版本)Xcode 9运行良好[重复]】这个问题在这里已有答案:

  • iOS11 WKWebview crash due to NSInvalidUnarchiveOperationException 4个答案
一切都在标题中,Xcode 9中的一切都还可以.Apple的应用程序还可以,但是我的所有mapwiew都会在从Appstore下载之后使应用程序崩溃。
Xcode 9-Objective-C- 当我用Xcode的iPhone SE或iPad 2运行时,一切运行良好。 Appstore版本都崩溃了。
感谢帮助我理解一些事情。
这里我的设备从Xcode登录(第一部分):
Incident Identifier: C2CCC5F8-01ED-4295-AE93-578642B19E99 CrashReporter Key:4b962ec4fbb937bae60eb5d2ed98278c01a3d76b Hardware Model:iPhone8,4 Process:Espace Sexualité Jeunes [1630] Path:/private/var/containers/Bundle/Application/39B1D2C1-DC8E-4FB9-AAB9-51F04D287209/Espace Sexualité Jeunes.app/Espace Sexualité Jeunes Identifier:com.espacesexualitejeunes.paco Version:1.0.1 (1.0.1) Code Type:ARM-64 (Native) Role:Foreground Parent Process:launchd [1] Coalition:com.espacesexualitejeunes.paco [742]Date/Time:2018-02-08 12:49:31.0908 -0400 Launch Time:2018-02-08 12:49:18.8182 -0400 OS Version:iPhone OS 11.2.1 (15C153) Baseband Version:6.30.04 Report Version:104Exception Type:EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note:EXC_CORPSE_NOTIFY Triggered by Thread:0Application Specific Information: abort() calledFiltered syslog: None foundLast Exception Backtrace: 0CoreFoundation0x185fba364 __exceptionPreprocess + 124 1libobjc.A.dylib0x185200528 objc_exception_throw + 55 2CoreFoundation0x185fba2ac +[NSException raise:format:] + 115 3UIKit0x18fbdc270 UINibDecoderDecodeObjectForValue + 371 4UIKit0x18fbdc0e4 -[UINibDecoder decodeObjectForKey:] + 103 5UIKit0x18fa2e6c0 -[UIRuntimeConnection initWithCoder:] + 135 6UIKit0x18fbdc3ac UINibDecoderDecodeObjectForValue + 687 7UIKit0x18fbdc524 UINibDecoderDecodeObjectForValue + 1063 8UIKit0x18fbdc0e4 -[UINibDecoder decodeObjectForKey:] + 103 9UIKit0x18fa2da34 -[UINib instantiateWithOwner:options:] + 1167 10UIKit0x18f80ac74 -[UIViewController _loadViewFromNibNamed:bundle:] + 371 11UIKit0x18f5b897c -[UIViewController loadView] + 175 12UIKit0x18f49b790 -[UIViewController loadViewIfRequired] + 183 13UIKit0x18f49b6c0 -[UIViewController view] + 27 14UIKit0x18f61eb1c -[UINavigationController _startCustomTransition:] + 1147 15UIKit0x18f541c4c -[UINavigationController _startDeferredTransitionIfNeeded:] + 711 16UIKit0x18f541890 -[UINavigationController __viewWillLayoutSubviews] + 163 17UIKit0x18f541790 -[UILayoutContainerView layoutSubviews] + 187 18UIKit0x18f498f00 -[UIView+ 52992 (CALayerDelegate) layoutSublayersOfLayer:] + 1275 19QuartzCore0x189ffd998 -[CALayer layoutSublayers] + 183 20QuartzCore0x18a001b20 CA::Layer::layout_if_needed+ 1207072 (CA::Transaction*) + 331 21QuartzCore0x189f6e36c CA::Context::commit_transaction+ 602988 (CA::Transaction*) + 335 22QuartzCore0x189f95b90 CA::Transaction::commit+ 764816 () + 539 23UIKit0x18f6fcb10 _UIApplicationFlushRunLoopCATransactionIfTooLate + 171 24UIKit0x18fdf3bb8 __handleEventQueueInternal + 5543 25UIKit0x18fdec7c0 __handleHIDEventFetcherDrain + 151 26CoreFoundation0x185f6297c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 23 27CoreFoundation0x185f628fc __CFRunLoopDoSource0 + 87 28CoreFoundation0x185f62184 __CFRunLoopDoSources0 + 203 29CoreFoundation0x185f5fd5c __CFRunLoopRun + 1047 30CoreFoundation0x185e7fe58 CFRunLoopRunSpecific + 435 31GraphicsServices0x187d2cf84 GSEventRunModal + 99 32UIKit0x18f4ff67c UIApplicationMain + 235 33Espace Sexualité Jeunes0x10456d0c8 0x104564000 + 37064 34libdyld.dylib0x18599c56c start + 3Thread 0 name:Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0libsystem_kernel.dylib0x0000000185acc2e8 __pthread_kill + 8 1libsystem_pthread.dylib0x0000000185be12f8 pthread_kill$VARIANT$mp + 396 2libsystem_c.dylib0x0000000185a3afbc abort + 140 3libc++abi.dylib0x00000001851d8068 __cxa_bad_cast + 0 4libc++abi.dylib0x00000001851d8210 default_unexpected_handler+ 8720 () + 0 5libobjc.A.dylib0x0000000185200810 _objc_terminate+ 34832 () + 124 6libc++abi.dylib0x00000001851f054c std::__terminate(void (*)+ 107852 ()) + 16 7libc++abi.dylib0x00000001851f0158 __cxa_rethrow + 144 8libobjc.A.dylib0x00000001852006e8 objc_exception_rethrow + 44 9CoreFoundation0x0000000185e7fec4 CFRunLoopRunSpecific + 544 10GraphicsServices0x0000000187d2cf84 GSEventRunModal + 100 11UIKit0x000000018f4ff67c UIApplicationMain + 236 12Espace Sexualité Jeunes0x000000010456d0c8 0x104564000 + 37064 13libdyld.dylib0x000000018599c56c start + 4Thread 1: 0libsystem_kernel.dylib0x0000000185accd80 __workq_kernreturn + 8 1libsystem_pthread.dylib0x0000000185bdeeec _pthread_wqthread + 884 2libsystem_pthread.dylib0x0000000185bdeb6c start_wqthread + 4Thread 2: 0libsystem_pthread.dylib0x0000000185bdeb68 start_wqthread + 0Thread 3: 0libsystem_pthread.dylib0x0000000185bdeb68 start_wqthread + 0Thread 4 name:com.apple.uikit.eventfetch-thread Thread 4: 0libsystem_kernel.dylib0x0000000185aab568 mach_msg_trap + 8 1libsystem_kernel.dylib0x0000000185aab3e0 mach_msg + 72 2CoreFoundation0x0000000185f62308 __CFRunLoopServiceMachPort + 196 3CoreFoundation0x0000000185f5fed4 __CFRunLoopRun + 1424 4CoreFoundation0x0000000185e7fe58 CFRunLoopRunSpecific + 436 5Foundation0x00000001868b5594 -[NSRunLoop+ 50580 (NSRunLoop) runMode:beforeDate:] + 304 6Foundation0x00000001868d49ac -[NSRunLoop+ 178604 (NSRunLoop) runUntilDate:] + 96 7UIKit0x00000001900697b8 -[UIEventFetcher threadMain] + 136 8Foundation0x00000001869b70f4 __NSThread__start__ + 996 9libsystem_pthread.dylib0x0000000185be02b4 _pthread_body + 308 10libsystem_pthread.dylib0x0000000185be0180 _pthread_body + 0 11libsystem_pthread.dylib0x0000000185bdeb74 thread_start + 4Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000x1: 0x0000000000000000x2: 0x0000000000000000x3: 0x00000001c42e0e37 x4: 0x00000001851f5afdx5: 0x000000016b89b490x6: 0x000000000000006ex7: 0xffffffffffffffec x8: 0x0000000008000000x9: 0x0000000004000000x10: 0x0000000185be55e0x11: 0x0000000000000003 x12: 0xffffffffffffffffx13: 0x0000000000000001x14: 0x0000000185a5153fx15: 0x0000000000000010 x16: 0x0000000000000148x17: 0x00000000ffffffffx18: 0xfffffff01249925cx19: 0x0000000000000006 x20: 0x00000001b7093b80x21: 0x000000016b89b490x22: 0x0000000000000303x23: 0x00000001b7093c60 x24: 0x00000001c4017880x25: 0x0000000000000000x26: 0x0000000000000001x27: 0x0000000000000000 x28: 0x000000016b89baf0fp: 0x000000016b89b3f0lr: 0x0000000185be12f8 sp: 0x000000016b89b3c0pc: 0x0000000185acc2e8 cpsr: 0x00000000

答案我终于解决了我的问题:我很蠢!
我忘了在我的应用程序中包含MapKit.framework。我将它重新上传到Appstore,现在一切正常。

    推荐阅读