Hello Folks, Our enterprise application works fine in iOS 14, but when launched on iOS 15 it crashes instantly without giving any errors. ( working with iOS 15 simulator just fine) Even after using the Exception breakpoint, No errors. AppDelegate code is not executing at all.
on the device logs, we found a crash log. Attaching the file, if any help/leads. Highly appreciated!
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x00000001e8a50350
This indicates that your app crashed because someone accessed an invalid memory address. The crashing thread’s backtrace looks like this:
Thread 0 Crashed:
0 Concession … 0x100fa0000 + 3389652
1 Concession … 0x100fa0000 + 3389636
2 Concession … 0x100fa0000 + 3388512
3 dyld … invocation function for block in dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_…
4 dyld … dyld4::RuntimeState::withLoadersReadLock(void () block_pointer) + 60
5 dyld … dyld4::APIs::_dyld_register_func_for_add_image(void (*)(mach_header const*, long)) + 124
6 Concession … 0x100fa0000 + 3388292
7 dyld … invocation function for block in dyld4::Loader::findAndRunAllInitializers(dyld4::RuntimeState&…
Frame 7 is the dynamic linker calling init functions in your shared library closure. Frame 6 is the init function in your app’s primary Mach-O image. Frame 5 indicates that your init function registered for a callback when an Mach-O image is loaded. Frames 2 through 0 are from that callback.
So, your app is being linked by the dynamic linker, which calls your app’s init function, which registers for a Mach-O image add callback, which then crashes.
To make progress on this you’ll need to symbolicate frame 6 and frames 2 through 0. For info on how to do this, see Adding Identifiable Symbol Names to a Crash Report.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"