Hi, I am a iOS developer. I have an iOS app currently running in Appstore. I am in the process of updating the app’s Launch image. Previously the app had a Launch screen image which was added in LaunchScreen.xib and in the update I want to change the Launch screen image. If I try to use the same xib with different image, the app takes the previous image as Launch screen image. I also tried using completely new xibs and image assets but the splash screen becomes a blank white screen in this case. Any helps to fix this will great.
Replies
After juggling images, be sure to use Xcode's 'Product' menu with the option key pressed, then choose to 'clean build folder'.
Unfortunately this is a problem that can affect even production user.
https://stackoverflow.com/questions/33002829/ios-keeping-old-launch-screen-and-app-icon-after-update
Did you find a solution for this? We face the same issue. We also reported this bug. Wrote about it here: https://forums.developer.apple.com/message/321239#321239
This worked for me: http://arsenkin.com/launch_screen_image_cache.html
"Again, thanks to the thread I have referenced above I found a way to solve this issue - name your new image differently from the one there was before in case your new one has the same name as the old one and put it out of the *.xcassets folder to the project directory and reference it in your UIImageView. And that's it. Sound stupid easy but oh gawd how much rage I had."
-
Changing the image name worked for me on iPad Pro.
Some issue it's happening on the iOS 14 or XCode 12.
-
Yeah I agree this is the only thing that works in iOS 14 / Xcode 12.
It seems like there is some bug with how the asset file is cached.
I found the solution is to remove the app on the iPhone, then reboot the iPhone to clear caches. Then build the app into iPhone again.
-
This also worked for me, thanks
-
Thanks! For me, I didn't even have to remove the app. I just restarted my phone and rebuilt the app on my phone.
Worked for me as well, thanks! (Xcode 13) I prefer this solution to moving any project files.
Xcode 14 still has the same issue... Could this be fixed please? It doesn't sound like a big deal. Thanks a lot.