Asset Catalog Compiler Error

后端 未结 13 811
慢半拍i
慢半拍i 2020-12-30 23:55

I\'m not sure what I did to get this error in Xcode 5:

\"None of the input catalogs contained a matching app icon set named \"AppIcon\"\".

My app was build

相关标签:
13条回答
  • 2020-12-31 00:20

    I had this problem and I had accidentally deleted the asset catalog for my app icons. Fortunately, I had a backup version. To fix it, I went to the Images.xcassets folder within my project folder and copied the AppIcon.appiconset folder from my backup project - worked fine.

    0 讨论(0)
  • 2020-12-31 00:21

    I had this problem when I accidentally saved a .psd as a .png. Converting the image to an actual png instead of a Photoshop file fixed it for me.

    0 讨论(0)
  • 2020-12-31 00:21

    There is one mole in your images. Find him and remove it. Try removing all images then add few images and try compile again. Do this until you find out the bad image.

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

    I just had this amoying error and besides deleting a wrongly included .psd file I´ve also RMC over the .xcodeproject/Show Package Contents and deleted the .xcworkspace file.

    Hope this help others too.

    0 讨论(0)
  • 2020-12-31 00:26

    If you changed the deployment target to some other version. The dependencies will be changed. In my case i changed from iOS 6 to 7 by mistake. changing back made it error free.

    0 讨论(0)
  • 2020-12-31 00:27

    I had this error when I added multiple time AppIcon set in Images.xcassets. I found that selected AppIcon set in Target/General/App Icons and Launch Images/AppIcon is different than the Target/Build Setting/Asset Catalog Compiler-Option/Asset Catalog App Icon Set Name. So that make sure AppIcon/LaunchImage set name must be same.

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