Xcode 7 warning: The launch image does not have a valid extension
Asked Answered
S

3

23

Xcode 7 has warnings for my launch image set. It reads:

The launch image set "LaunchImage" references a file "[email protected]", but that file does not have a valid extension.

I tried removing the image and put it back again with no luck. What is it warning about and how can I fix it?

Sinistrocular answered 17/9, 2015 at 14:14 Comment(0)
T
46

Try changing [email protected] instead of [email protected].

Thaine answered 17/9, 2015 at 14:17 Comment(3)
It wasn't used to be a problem in previous Xcode versions! But Xcode 7 seems to care about names. Thanks!Sinistrocular
I have small letter .jpg and still have the warning!Chios
it has worked, I was experiencing same errorAnalogize
L
4

Can't comment, yet found this helpful:

After renaming the image's extension name to lowercase the warning goes away (as explained in the accepted answer: .PNG -> .png)

If the warning doesn't go away, clean the project by going to Product -> Clean

(or just: Shift + CMD + K)

Livvyy answered 16/2, 2017 at 16:24 Comment(0)
R
2

If you have the file Image.PNG, convert it into Image.png, and if you have the file extension Image.JPG, convert it into Image.jpg.

Make sure your images have extension with lowercase letters, not capital letters. Hope this will help!

Ryurik answered 25/7, 2016 at 11:13 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.