Time Limit to Launch
I had this weird bug that I’ve been trying to fix for the longest time. It would consistently crash whenever I started the app on my iPad. But unfortunately, it never crashed when I started it up from XCode, which made it pretty hard to debug.
And then I learned that an iOS app has a limited amount of time in which it has to finish launching. If it doesn’t, the operating system kills the app! However, starting the app from XCode bypasses the time limit. Sure enough, that turned out to be the problem.
In my next post, I’ll talk about how I fixed it. (Ooh, a cliffhanger!)