My enterprise application is working fine till iOS 11. Yesterday once I updated one of the device to iOS 12 and tested the application. It is crashing at launch. While debugging I found it works fine on Simulator but crashing on device even before main is called.
Incident Identifier: 34B04574-6BD3-4A5F-A352-244841532EAE
CrashReporter Key: 8a642341ed3bb03fe6ac849ed5857efe31b26830
Hardware Model: iPod7,1
Process: MyApp [1822]
Path: /private/var/containers/Bundle/Application/7E7F1946-60D5-4354-B1B6-C981FEE8F82B/MyApp.app/MyApp
Identifier: #########
Version: 18.8 (18.8)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd [1]
Coalition: #########
Date/Time: 2018-09-25 12:33:25.6270 -0400
Launch Time: 2018-09-25 12:33:25.5276 -0400
OS Version: iPhone OS 12.0 (16A366)
Baseband Version: n/a
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x822bc15100000002
VM Region Info: 0x822bc15100000002 is not in any region. Bytes after previous region: 9379803191291412483
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_NANO 0000000280000000-00000002a0000000 [512.0M] rw-/rwx SM=PRV
--->
UNUSED SPACE AT END
Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [1822]
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_platform.dylib 0x000000019118dff8 _platform_strcmp + 8
1 MyApp 0x0000000100b0f4d0 0x1005e0000 + 5436624
2 MyApp 0x0000000100b0f5d8 0x1005e0000 + 5436888
3 libobjc.A.dylib 0x00000001907530b0 call_load_methods + 184
4 libobjc.A.dylib 0x0000000190754610 load_images + 180
5 dyld 0x00000001012b2388 dyld::notifySingle+ 9096 (dyld_image_states, ImageLoader const*, ImageLoader::InitializerTimingList*) + 440
6 dyld 0x00000001012c4750 ImageLoader::recursiveInitialization+ 83792 (ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 440
7 dyld 0x00000001012c3798 ImageLoader::processInitializers+ 79768 (ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 136
8 dyld 0x00000001012c3854 ImageLoader::runInitializers+ 79956 (ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 84
9 dyld 0x00000001012b26a4 dyld::initializeMainExecutable+ 9892 () + 220
10 dyld 0x00000001012b7468 dyld::_main+ 29800 (macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 4600
11 dyld 0x00000001012b1044 _dyld_start + 68
Already went through Apple developer forum and other stack overflow crashes. But so far no pointers. Any help or pointers is appreciated.
My app crashing with old version of Crittercism iOS SDK.