App crashes when submitted to App Store

Hi all, today I tried to upload my first app on the App Store. he Apple team refused it saying "We were unable to review your app as it crashed on launch. We have attached detailed crash logs to help troubleshoot this issue. Review device details:

  • Device type: iPad
  • OS version: iOS 17.0.3"

I'm trying to understand why it crashed since on the simulator and on the real device works really well. Thank you so much for the help!

Consider your crashing thread:

Thread 0 name:  tid_103 Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   libsystem_kernel.dylib  … __pthread_kill + 8
1   libsystem_pthread.dylib … pthread_kill + 268
2   libsystem_c.dylib       … __abort + 136
3   libsystem_c.dylib       … abort + 192
4   mediaReporting          … 0x1007d0000 + 24841160
5   mediaReporting          … 0x1007d0000 + 23876020
6   mediaReporting          … 0x1007d0000 + 23489440
7   mediaReporting          … 0x1007d0000 + 23483764
8   mediaReporting          … 0x1007d0000 + 23447528
9   mediaReporting          … 0x1007d0000 + 4349836
10  mediaReporting          … 0x1007d0000 + 7907120
11  mediaReporting          … 0x1007d0000 + 7902156
12  mediaReporting          … 0x1007d0000 + 7902040
13  mediaReporting          … 0x1007d0000 + 172104
14  mediaReporting          … 0x1007d0000 + 171004
15  mediaReporting          … 0x1007d0000 + 4080560
16  mediaReporting          … 0x1007d0000 + 23556312
17  mediaReporting          … 0x1007d0000 + 24176688
18  mediaReporting          … 0x1007d0000 + 24190132
19  mediaReporting          … 0x1007d0000 + 33352
20  mediaReporting          … 0x1007d0000 + 37816
21  UIKitCore               … -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 320

In frame 21 shows UIKit calling you. Frames 20 through 4 are your code. Frame 4 shows you calling abort.

To make progress on this you’ll need to uncover the identity of the code in frames 20 through 4. Our standard description of that process is Adding Identifiable Symbol Names to a Crash Report. That assumes you’re using Apple tools; if it doesn’t work with your third-party tooling, I recommend that you escalate this via its support channel.

Share and Enjoy

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

App crashes when submitted to App Store
 
 
Q