Asset Catalog Compiler Error

后端 未结 13 846
慢半拍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:38

    I also have the same issue, in my experience it caused by :

    1. wrongly formatted file -> for example you have jpeg file and you want to convert it to png by renaming its name. You should converted or exported it properly by using image editing software, for example photoshop.
    2. Wrong size -> in my case i created an icon 72 px X 72 px but when i imported it became 73 px X 73 px, it caused by adobe illustrator clipping system. You should set it's size to fit the app icon requirement correctly.

    note : for wrong size you need to place your art board in a clear coordinate, for example 1000 px, 200 px, i get it right by using top left anchor.

提交回复
热议问题