Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App icon unassigned image compilation warning message

Tags:

ios

xcode6

xcode7

I've tried googling this but am still non the wiser as to what the actual problem or solution is. I supplied all the app icon images Xcode was asking for but I'm getting an AppIcon unassigned image compilation message. What do I need to do to remove the warning essage?

enter image description here

like image 451
Gruntcakes Avatar asked Oct 07 '14 15:10

Gruntcakes


3 Answers

I faced same problem with XCode7 and app icon image, and just Selecting the unassigned asset and pressing delete solved the problem for me.

like image 181
pk75 Avatar answered Nov 16 '22 13:11

pk75


If you go into the media.xcassets directory in finder you can edit the contents.json file to remove anything without "filename" assigned. For example you would remove:

{
      "idiom" : "universal",
      "unassigned" : true
 }

And that should remove the compiler warnings.

like image 7
Keith Aylwin Avatar answered Nov 16 '22 14:11

Keith Aylwin


In my case a created Forms based project auto generates a project structure that refers to an app icon for the "Car" iOS app category: /Users/your_userid/Projects/ProjectName/iOS/Resources/Images.xcassets/AppIcons.appiconset/Contents.json

I opened that json file and removed the app icon entry that contained an "idiom" entry of "Car". Then the build was successful. Another solution would have been to add an app icon for Car. But my app is not going to be used in a car.

like image 2
Gunnar Forsgren - Mobimation Avatar answered Nov 16 '22 13:11

Gunnar Forsgren - Mobimation