I get an error “None of the input catalogs contained a matching launch image” in xCode5-iOS7

前端 未结 10 2031
独厮守ぢ
独厮守ぢ 2020-12-23 23:52

I\'m trying to define launch images. Probably only one image is missing.

I\'m following the instructions from this site Create launch images in different sizes for d

相关标签:
10条回答
  • 2020-12-24 00:48

    With xcode 11.3.1 you have to select the project file and after that, select the target in question, and in the General tab under "App Icons and Launch Images" select as shown bellow.

    0 讨论(0)
  • 2020-12-24 00:52

    In my case the problem was solved by removing the reference to Images.xcassets and then add it to the project again.

    I'm not sure what caused the problem, but it may have something to do with the fact that I moved the assets "file" from one Xcode group to another, which would be weird as the file's path remained the same, but that was also the only thing I did with the file...

    0 讨论(0)
  • 2020-12-24 00:53

    This generally happens when you have accidentally deleted Assets.xcassets. You need to follow the below steps.

    1. Right click on Assets.xcassets and select Show File Inspector.
    2. Check if the desired target has been checked under Target Membership.
    3. If its unchecked, Please select the target for which you need the Assets to be used.
    4. Clean and Build the App.
    0 讨论(0)
  • 2020-12-24 00:56

    For me the problem occurred when i have added a new watch target. Even though i had AppIcon set i was getting the error, i fixed it by removing the reference of asset catalog and added it back, you can do it by deleting the reference and add it back.

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