App Crashing on launch only when downloaded from App store but works fine on Test Flight

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?

Did you find a solution?

I see this was posted 2 years ago by Bazinga15, and followed up by nexuindustries. I am having the same exact problem, but I cannot find a solution listed anywhere, or true indication on how to debug an app that has been downloaded from the App Store. The Organizer doesn't show any crashes, and neither do the analytics on AppConnect.

It has to be related to my In App Purchase, but I can't figure out how...anybody with any insight or recommendation, please help. Apple Developer Support has been contacted, but so far has not replied :(

App Crashing on launch only when downloaded from App store but works fine on Test Flight
 
 
Q