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

前端 未结 3 1137
温柔的废话
温柔的废话 2021-02-18 18:22

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

The launch image set \"LaunchImage\" references a file \"Default@2x.PNG\", but that file does not

相关标签:
3条回答
  • 2021-02-18 18:25

    Try changing Default@2x.png instead of Default@2x.PNG.

    0 讨论(0)
  • 2021-02-18 18:29

    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!

    0 讨论(0)
  • 2021-02-18 18:34

    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)

    0 讨论(0)
提交回复
热议问题