Crash on launch - TestFlight builds

I just upgraded XCODE to 13.3.1 , and my app crashes on startup on TestFilght. When I build it directly on the phone there is no issue with the app. The only solution that worked was disabling bitcode but I don't want to disable it.

There are no crash logs and can't see the logs on the device itself. I don't know what will happen if I'll publish it to the store and I don't want to try. The app should work on TestFlight

Solutions that didn't work- -Updating to 13.4 - didn't help -Adding "-Wl,-weak-lswift_Concurrency -Wl,-rpath,/usr/lib/swift"- didn't help -Adding libswift_Concurrency.tbd in the "Link Binary with Libraries" - didn't help

Hey @rethgil2,

Thanks for posting on the Apple Developer Forums!

Without additional information, it is going to be hard for the forum to help you diagnose the issue that you are currently facing.

While you may not have crash logs, are you able to connect your iOS device to a macOS device, open the Console application and then replicate the issue after starting the log capture? You should be able to search for Errors and Faults at a minimum to give us a clue of what is going on as to why the application is failing.

If you have not used the Console before, I would suggest finding the process(s) associated with your application and then doing a right click and "Show Process" to limit the number of logs you need to look through. This may also help give you context as to what your application is doing prior to crashing.

Hopefully this helps and happy coding!

Crash on launch - TestFlight builds
 
 
Q