App rejected because crash on ipad 15.2.1

Hello. We have an app rejected. This is the apple message:

We're looking forward to completing our review, but we are unable to continue because your app crashed during review. Please review the details below and the attached crash logs, then complete the next steps.

Specifically, your app crashed after we Signed in with Apple.

Review device details:

  • Device type: iPad
  • OS version: iOS 15.2.1

When we test on our real devices everything works (our real devices are iphones and we target the app to iphone only). We try to test on iPad using the simulator (although we are not targeting ipad) but when we try to login using Apple, is like is working, and we put apple id and password, but apple auth screen do not return anything and continue on apple authentication screen without answer (See the attachment). In that way, our app works fine on our real iphones. Can you help us to discover what is happening?. I think that the app is in foreground for a long period of time and after that crash because a garbage colector or something like that. Thanks.

App must work on iPad, at least in "small screen" mode.

You should fully symbolicate those crash reports to understand what's happening. It's likely you force unwrapped a nil value, and the fully symbolicated crash report will tell you where in your code you did so. Also, you should ensure you're thoroughly testing the app in order to catch this scenario before submitting a build to App Review; we have an entire guide that's meant to help you catch such errors.

 I think that the app is in foreground for a long period of time and after that crash because a garbage colector or something like that. Thanks.

Neither of these is correct. If you analyze the crash report's two timestamps, launch time and the time of the crash, you'll see the app has been alive for only 3 minutes. None of Apple's platforms use garbage collection. The above advice about symbolication and testing will help you see where your code failed, and how to test better to catch this situation.

Hello Edford. Crashes reports was the ones that review team send us. On our devices or simulator there is no crash. When we test locally on an ipad simulator, there is no answer from apple authentication screen (but there is no crash on the app). When we test using test flight on our real devices, everithing works fine. In fact there have been no changes on our app in the authentication functionality on the last months.

Crashes reports was the ones that review team send us.

Right — you need to symbolicate them to make them useful. Please do that by consulting the document I provided above.

App rejected because crash on ipad 15.2.1
 
 
Q