This issue may affect you: does not work when sending to apple

I archived the app via Xcode for App Store Connect. When I upload this build to iPhone via TestFlight everything works fine, but when I send it to Apple they get a black screen. Please tell me what the problem is

I suggest you go through the process described in Testing a release build. That process will uncover a ton of issues like you describe before you submit to the App Store, so that you then have a reproducible test so you can debug further.

— Ed Ford,  DTS Engineer

This issue may affect you: does not work when sending to apple
 
 
Q