Xcode App Crashing after Initial Launch

I'm quite new to Xcode development, and I've been having an issue test-running my app. When I run the app on my iPhone from my Mac, the app launches properly and works initially. However, when I close the app fully and try to reopen it, it keeps crashing. This occurs whether I test on a physical device or an iPhone simulator.

Somehow, this issue does not occur when the app is run on Profile mode.

I would appreciate any pointers to debug this.

Well, do you know where it's crashing in your code? Maybe supply a crash report on here with the stack trace so we can see what's happening.

Xcode App Crashing after Initial Launch
 
 
Q