Reputation: 8327
I want to remove my app's launch image. I deleted the two launch image files from my project folder:
Default-Landscape@2x~ipad.png and Default-Portrai@2x~ipad.png
And now get a build errors: "Can't find .../Default-Landscape@2x~ipad.png copypng failed"
Upvotes: 4
Views: 5689
Reputation: 7145
Your app is trying to copy these pngs to the bundle. Since you've deleted them from the folder in Finder, Xcode doesn't know that it shouldn't try to copy them.
Choose your project in Project Navigator, then select your application's target, then select the Build Phases section and remove those two images from the list of Copy Bundle Resources.
Here's a snapshot of a sample project for reference:
Upvotes: 1
Reputation: 1333
Click on your project in the Project Navigator, then go to "General" and scroll down to "Launch Images"
then you can click on each Image you specified to deleted it.
If you see the source as "LaunchImage" click on the scroll list and select "Don't use Asset Catalogs".
Then you will see the first screen shot where you can change/delete the launch images.
NOTE: That being said, I agree with the previous answer that you need Launch Images to improve the user experience, and give the user the feeling that the app is running and its not only a black screen!
Upvotes: 3
Reputation: 178
Please read this: https://developer.apple.com/library/ios/documentation/userexperience/conceptual/mobilehig/LaunchImages.html
You need to provide at least one launch image. If you have removed the current launch image, please provide a new one.
Apple recommends that your launch image should improve user experience:
"Design a launch image that is identical to the first screen of the app, except for:
Text. The launch image is static, so any text you display in it won’t be localized. UI elements that might change. If you include elements that might look different when the app finishes launching, users can experience an unpleasant flash between the launch image and the first app screen."
Upvotes: 1