app Crash on Testflight but export ipa install is fine

I'm developing an app that scans faces into models.

But when I was ready to release testflight, the app downloaded from testflight clicked the scan button, and it crashed.

But I use but I use xcode to run, or use Ad Hoc to export ipa, it can run normally, I have tried many solutions and can't solve this problem, this problem has been bothering me for a long time.

Does anyone know how to solve this problem?

Have you check in the device log for some information ? Also xCode,iOS versions ?

Firstly if it crashed there will be a crash report on the iPhone you can extract to look at. If that doesn't help/pinpoint the reason then add verbose logging and start to narrow down where it occurring.

crashlog like this.

app Crash on Testflight but export ipa install is fine
 
 
Q