iOS app crashes when closing/opening quickly

Viewed 213

The main issue with this bug is that I can't have my device connected to xCode to debug, since to get it to crash, I have to close the app (terminating the debug session), and open again quickly. Keyword: quickly... I don't have time to close, and rebuild through xCode, otherwise it won't crash for me (needs to be within a second or two)... I don't see anything notable in Organizer > Crashes... I'm not looking for specific solutions since I don't have an error code yet, I'm just looking for ideas/ways to get this error code.

Again, just to clarify, this crash can only happen within a second or two of closing the app. Open > Close > Open again within a second -> Crash. The crash happens consistently.

1 Answers

This is not a bug in your app, this thing happen on Simulator when you consistently close open app on simulator like when you launch the app soo fast that the previous session is still not cleared from memory then your app close immediately and you might thought that it is bug in your app but it is not.

Related