Asset Catalog Compiler Error

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.


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.


Ok, so I haven;t had an answer overnight yet - so I prodded around myself - went into the general tab - App Icons section - and clicked 'Use AppIcon' button instead of 'Don't use asset calalogues'.

That fixed it - compiler error disappeared.

Not exactly sure what it all means frankly. More docs to plod through, I suppose.

Anyway hopefully this may help someone else.

Thanks.


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.

Tags:

Xcode

Ios7