App crashes during review but not in Simulator

I am submitting new App for review and it is rejected due to Crash on iPad

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000

I am not able to reproduce the same locally, have tested app against same iOS and all the device type but no crash.

Can someone help provide some pointers on how to debug/investigate the issue.

Attached is the crash report I received:

Answered by DTS Engineer in 826670022

App crashes during review but not in Simulator

Did you test your app on a real device using TestFlight? The simulator is a great tool for rapid development, but you need to actually test on real hardware.

Looking at your crash report I see:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000

You’re crashing due to a memory exception caused by dereferencing nil.

And this:

Thread 0 Crashed:
0 libobjc.A.dylib         … objc_setAssociatedObject + 64
1 irondash_engine_context … +[IrondashEngineContextPlugin registerWithRegistrar:] + 252
2 Owl Insight GPSC DEV    … +[GeneratedPluginRegistrant registerWithRegistry:] + 388
3 Owl Insight GPSC DEV    … AppDelegate.application(_:didFinishLaunchingWithOptions:) + 96

showing the crash is coming directly out of your app launch sequence. It’s very likely that the app you submitted is built incorrectly. The most common cause of that is a difference between your Debug and Release build. See Testing a release build.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App crashes during review but not in Simulator

Did you test your app on a real device using TestFlight? The simulator is a great tool for rapid development, but you need to actually test on real hardware.

Looking at your crash report I see:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000

You’re crashing due to a memory exception caused by dereferencing nil.

And this:

Thread 0 Crashed:
0 libobjc.A.dylib         … objc_setAssociatedObject + 64
1 irondash_engine_context … +[IrondashEngineContextPlugin registerWithRegistrar:] + 252
2 Owl Insight GPSC DEV    … +[GeneratedPluginRegistrant registerWithRegistry:] + 388
3 Owl Insight GPSC DEV    … AppDelegate.application(_:didFinishLaunchingWithOptions:) + 96

showing the crash is coming directly out of your app launch sequence. It’s very likely that the app you submitted is built incorrectly. The most common cause of that is a difference between your Debug and Release build. See Testing a release build.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

App crashes during review but not in Simulator
 
 
Q