9

I am playing with my Xcode, following tutorial, learning this stuff. I added an image to "Launch Images", rebuilt my project, it showed up.

  • I removed the image, rebuilt my project .... image still flashed before app started

  • I deleted my project, redid my project, this time with no image, launched the app and voila ... image is still there?

  • I reset simulator counters and settings ... same issue

Is there a permanent location where this file can be removed from? Is there a cache that needs to be reset etc?

Please let me know.

James Raitsev
  • 92,517
  • 154
  • 335
  • 470

5 Answers5

24

iPhone Simulator caches stuff. Try a clean build, or actually deleting the app from the simulator (by holding down on a home screen icon until it wiggles, then X-ing it).

FeifanZ
  • 16,250
  • 7
  • 45
  • 84
  • 5
    The same goes for the device - if you don't delete the app from the device before deploying a developer build onto it, the old files remain in place. – Jim Jul 03 '11 at 01:39
  • Indeed this was the issue. Thank you – James Raitsev Jul 03 '11 at 01:40
  • Was beating the wall with my head on this one. Delete the app from the device, Product > Clean got it for me. Thanks Inspire48 & Jim! – fusion27 Nov 19 '12 at 19:23
  • in xcode 7.3 i also had to reboot my device. any uiimage i change in the launch screen storyboard wouldn't update from the old one to the new one. – tiw Jul 06 '16 at 09:04
3

With the project open Goto xcode > Product > Clean

VMAtm
  • 27,943
  • 17
  • 79
  • 125
Anmar
  • 31
  • 1
2

Navigate to the project folder, go to Resources folder and delete the folders called splash and icon (do this from both from Xcode and Finder). Also delete the app from either the device or the simulator by pressing on it and x-ing it out then go to Product->Clean.

I know this was very painful, but now you can set the new icons and launch images from Xcode.

Good luck.

Zorayr
  • 23,770
  • 8
  • 136
  • 129
0

Check that the image is not in the project folder anywhere, also ensure that in the info.plist there is no value relating to launch image.

Codr
  • 68
  • 4
  • The only image in place is the icon image and it's different one from the one flashing. Checked directory structure as well - no image in question – James Raitsev Jul 03 '11 at 01:38
0

Are you looking for an image named "Default.png" (or whatever suffix)? When assigning an image to the default launch, Xcode makes a copy and renames it "Default".

Thompson
  • 1,098
  • 11
  • 25