14

My Device and Simulator seem to be caching the launch screen for my app!

I have deleted the original Launch Screen.storyboard and created my own XIB and swift files called "StartingPointView.xib" and "StartingPointView.Swift". The XIB file contains a view with Blue background color. It is also linked in the Xcode project settings under app icon and launch images.

So far everything seems fine, but when I change the color of the StartingPointView's view to say Yellow, the app continues to launch with a Blue screen and then flash a yellow screen.

Where is the blue coming from? (Note: I have no other blue screens in any of my UI and I tried running clean and clean build folder)

5
  • 4
    Now I'm noticing that this behavior exists even if you use the default launch screen story board file... Setting an image on it once, will cause it to be "cached" even when the image is modified. Anyone else experience this? Commented Sep 15, 2016 at 19:54
  • 4
    I ran into this issue back in January (on older versions of iOS obviously), and back then power-cycling the device would fix it. My testers are reporting similar problems to yours now, but on iOS10 a power-cycle doesn't seem to clear the cache. Commented Sep 20, 2016 at 9:43
  • 1
    Yes, power cycling didn't do it for me... buying an iPhone 7 to replace my 6 didn't help either :) Commented Sep 21, 2016 at 14:11
  • Got the same problem. I have even renamed the storyboard file and reuse the launch image, it still loaded the old storyboard file. So stupid! Commented Apr 2, 2017 at 23:33
  • Is this problem remains after installing new app version from App Store? Commented Apr 16, 2018 at 15:39

1 Answer 1

10
+25

This issue is directly related to rdar://24618582 "Xcode 7.2.1: Cached Launch Screen Does Not Update" which has existed since iOS 9.

The only workaround that I've found is to completely remove and re-install your application. I know this isn't really viable solution, but is the best that I can provide (besides restarting the device) until Apple fixes this runtime issue.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.