I recently built my first iOS Application and wanted to release it on production. My release version works properly when
Directly installed to iPhone from Xcode.
Test Flight
However when I Roll it out to production, it crashes when launching.
Debug Options that I tried out:
I checked the archive and made sure Build Config is on 'release'
I checked the crash logs from the Organizer window, out of all the crashes only one Crash is logged ( I did check the Upload app symbols to receive symbolicated reports From apple when distributing the app to App store connect from Xcode)
The only crash log message available was
YourAppName: Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value + 0
However the stack is empty and I couldn't locate the line where this occurs during launch, as the app works perfectly fine on simulator, direct install on real device and even on test flight.
How do I proceed to debug and rectify this issue asap?