How to add icon 57x57 in XCode 5
Solution 1
You can choose the icon sets that are required.
Notice on the right side there are options for the appicon sets. Choose whichever one you want to put.
Solution 2
Use Below steps
1 - Go to Project Navigator
2 - chose (click on) Images.xcassets
File
3 - Click on APPIcon
( Left Top Corner)
4 - Go to Attributes Inspector
5 - Chose what you want.
Simple.
Thanks DamithH
Solution 3
I had to do this the hack job way.
- Go to your project folder
- navigate to Images.xcassets
- navigate to AppIcon.appiconset
- edit Contents.json file
add this
{ "images" : [ { "size" : "57x57", "idiom" : "iphone", "filename" : "iphone-57.png", "scale" : "1x" }, { "size" : "57x57", "idiom" : "iphone", "filename" : "iphone-114.png", "scale" : "2x" },
{ "size" : "29x29", "idiom" : "iphone", "filename" : "iphone-58.png", "scale" : "2x" }, { "size" : "40x40", "idiom" : "iphone", "filename" : "iphone-80.png", "scale" : "2x" }, { "size" : "60x60", "idiom" : "iphone", "filename" : "iphone-120.png", "scale" : "2x" } ], "info" : { "version" : 1, "author" : "xcode" } }now copy your two icons and paste them in AppIcon.appiconset dir i.e. iphone-57.png & iphone-114.png
Either this is a xcode bug or apple has assumed none of the apps made in xcode 5 will ever run on iphone 4 or lower or ios 6 or there has to be an easier way
Solution 4
My designer uses makeappicon.com, so I get a neat AppIcon.appiconset
dir that I just need to drag into Images.xcassets
.
Using this service you can get Android cuts as well.
And it's free.
Solution 5
The right panel (where are the icons) is bigger than Xcode screen sometimes, but the panel doesn't have a scroll. Try to hide both Navigator and Utilities to have more room for the main content.
![Sam B](https://i.stack.imgur.com/b5acg.jpg?s=256&g=1)
Sam B
software developer iOS developer Love to leave Earth and move to Mars ... anyone wanna join?
Updated on July 21, 2022Comments
-
Sam B almost 2 years
I am working with Xcode 5 and created 3 icons
- iphone-58.png
- iPhone-80.png
- iphone-120.png
When I created my projected I dragged and dropped these three icons into image.xcassets. see screenshot.
Now when I compile my project I get this error that 57x57 & 57x57@2x icons are missing. How do I add them? I don't see any spot in AppIcon section. What did I miss?