iOS Question Weird startup crash

JohnC

Expert
Licensed User
Longtime User
My B4i app includes a menu option that opens a link in a browser to download a newer version of the app via OTA.

This is an app that will not be published to the app store.

A beta tester is reporting that after they install a new version, when they then try to launch the app - it simply flashes quickly on the screen and never opens.

But if they reboot their phone, then the app opens and runs correctly.

What could be causing this?

I would think installing a new version would kill the previous version's task, which should be the same action as rebooting the phone.

How can I possibly trace whats going on remotely because I can not reproduce this on my test device.
 

JohnC

Expert
Licensed User
Longtime User
Through trial-and-error, I was able to narrow it down to my code was starting the locationmanager too soon in some conditions.

Another weird thing for this tester is that when they would click the link to do an OTA update, iOS never popped up the dialog saying "xxx would like to install an app..." - it would just immediately install it. And after I moved the locationmanager to run later in the app (to fix this issue), then this tester started to see the pop-up when doing an OTA update - very weird!
 
Upvote 0
Top