Blank white screen after app update from App Store in iOS 12.1.

Hi Everyone..

After updating from app store shows blank white screen in iOS 12.1 but after deleting and reinstalling the app from app store works fine.

As I cannot share the code, logic implemented in App Delegate includes :

1) On first time, app waits for 3sec to get the device token n store it locally into device. Using the same device token as query string is passed to UIWebView to loadUrl.

2) On second time, app checks for the fresh device token n matches with the existing token. If same, then saved device token is send as query string to UIWebView else new device token is replaced n send to UIWebView to loadUrl.

Why So please suggest as on all other versions app running fine.

Replies

The first step here is to simplify reproducing the problem. Here’s what I recommend on that front:

  1. Create an ad hoc build from the Xcode archive that you used to submit to the App Store.

  2. Similarly create an ad hoc build for the previous version.

  3. Delete the app from your device.

  4. Install the previous version of the app.

  5. Run it for a while.

  6. Now, using iTunes, install the new version of your app.

    IMPORTANT You want to use iTunes here, not Xcode, because iTunes installs the app in a way that’s closer to how the App Store works.

Does the app show the problem?

If it does then you should repeat the steps above but, after step 5, use Xcode to grab a copy of the app’s container. Then:

  1. Delete the app from the device.

  2. Install, but don’t run the new version of your app.

  3. Use Xcode to restore the app’s container.

  4. Run the app.

Hopefully this will also reproduce the problem, at which point you know that your container snapshot is sufficient to trigger it. And in that case you can do the following:

  1. Delete the app from the device.

  2. Configure Xcode to restore the app’s container on launch.

  3. Run the app in the debugger.

If this still replicates the problem, which it should, you’ll be able to debug it using the standard Xcode debugger.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"