Xcode, can't remove “Launch image” from project

假如想象 提交于 2019-11-29 13:50:04

问题


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.


回答1:


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).




回答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.




回答3:


With the project open Goto xcode > Product > Clean




回答4:


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.




回答5:


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".



来源:https://stackoverflow.com/questions/6560568/xcode-cant-remove-launch-image-from-project

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!