Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A launch image named "[email protected]" is required to run at native resolution on Retina 4 devices

I've created a new project in XCode 4.5 and added 3 launch images for each requiered resolution. XCode created automatically 3 files: Default.png, [email protected] and [email protected]

Now I get a warning demanding to create a "[email protected]" (no "Default" word) and offering to add the file for me. If I click "Add" it does create an empty image (black rectangle) named "[email protected]". If I don't add it, my splash screen in the run time is incorrect (it takes the app icon and stretches it to the while screen)

So I've decided to let it be and copied the [email protected] into [email protected], it did resolve the splash screen and the warning, but now I have trouble with gitHub, since it can't work with files that start the dash "-".

Any ideas? Where did I "lose" the "Default" prefix???

like image 610
Lena Grushevsky Avatar asked Nov 03 '22 13:11

Lena Grushevsky


1 Answers

In your info.plist, see if you have the key UILaunchImageFile~iphone. I bet its value is empty. That key is what Xcode uses to to get the file names of the launch images. That's where you replace "Default" with "MyAwesomeLaunchImage", so your images are named [email protected], etc..

like image 136
TotoroTotoro Avatar answered Nov 11 '22 07:11

TotoroTotoro