'Missing recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format'
Solution 1:
If you get an icon error
when submitting an application from Xcode9
, or if you cannot see app icon on your simulator as well as a device, just update your cocoapods
to the latest version in your project. That issue is a bug in Xcode9
with cocoapods
.
There's a new guideline for iPhoneX
that can be seen here.
Here's a helpful website that creates an icon for iOS, Mac App and Android app.
You just need to drag and drop your 1024 x 1024 icon and the site will create all the icon sizes and send it to your email. Then follow the following method to set icons for iOS app.
After Apple launched iOS 8, iPhone 6 and 6 Plus, the app icon sizes and launch image sizes changed. Please visit my post for new sizes:
Image resolution for new iPhone 6 and 6+, @3x support added?
Yes, you need to add a 120x120 high resolution icon. Now, if you want to target only iOS 7, you just need 76 x 76, 120 x 120 and 152 x 152 icon sizes. If you also want to target iOS 6, you’ll need 57 x 57, 72 x 72, 76 x 76, 114 x 114, 120 x 120, 144 x 144 and 152 x 152
icon sizes. Without counting Spotlight and Settings icon if you don’t want the OS to interpolate them!
As per the blog post New Metrics for iOS 7 App Icons.
UPDATE:
As per Apple Guideline App-icon OR Icon and Image Sizes:
Icon dimensions (iOS 7 and later)
Icon dimensions (iOS 6.1 and earlier)
Create different sizes of the app icon for different devices. If you’re creating a universal app, you need to supply app icons in all four sizes.
For iPhone and iPod touch, both of these sizes are required:
120 x 120 pixels
60 x 60 pixels (standard resolution)
For iPad, both of these sizes are required:
152 x 152
76 x 76 pixels (standard resolution)
Now set this into Project:
Create a new icon with 120 pixels with high-resolution and 60 pixels as regular as above that the Apple documentation mentions and set the name. For example,
icon-120.png
andicon-152.png
.Put this icons into your project Resource folder and add this icon into the project:
- After this, click on
ProjectName-Info.plist
and find the icon files row. If you can't find it, then add it by clicking the(+)
sign and select icon files and then set all icon images like below.
Now archive and distribute your project as we did for submission of the app binary into the App Store. I hope now you can submit your app without any icon issue.
NOTE:
Be careful to provide all the icons you need. Otherwise your app will not pass Apple validation. If you’ve received this kind of email:
Invalid Image - For iOS applications, icons included in the binary submission must be in the PNG format.
- If your application supports the iPhone device family, you must include square icons of the following dimensions: 57x57 pixels and 120x120 pixels.
- If your application supports the iPad device family, you must include square icons of the following dimensions: 72x72 pixels, 76x76 pixels and 152x152 pixels
Apple is now accepting applications that work on iOS 7 as well, so whatever the
Deployment target
6.1 or earlier, but you also need to provide the iOS 7 icon sizes as I mention above (that the store is expecting).
Xcode 5 app icon Manage
If you are using xCode5 The first thing to update is the icons. Xcode 5 introduces Asset Catalogs to simply managing multiple copies of an image (such as for multiple resolutions). We’ll create one to manage both the Game’s icons, along with the Launch Images.
Now, click the Use Asset Catalog button. When confirming the migration, you’re also asked if you wish to migrate the Launch Images (which is iOS talk for the splash screen that appears when starting your app) - you’ll want to ensure this is checked as well.
Please take a Look for more Info Apple doc of Asset Catalogs
Solution 2:
The accepted answer is great, but here's the short answer:
<key>CFBundleIconFiles</key>
<array>
<string>[email protected]</string>
<string>icon.png</string>
<string>Icon-Small.png</string>
<string>[email protected]</string>
<string>Default.png</string>
<string>[email protected]</string>
<string>icon-72.png</string>
<string>[email protected]</string>
<string>Icon-Small-50.png</string>
<string>[email protected]</string>
<string>Default-Landscape.png</string>
<string>[email protected]</string>
<string>Default-Portrait.png</string>
<string>[email protected]</string>
New icons below here
<string>icon-40.png</string>
<string>[email protected]</string>
<string>icon-60.png</string>
<string>[email protected]</string>
<string>icon-76.png</string>
<string>[email protected]</string>
</array>
Found this here by searching for "The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format." in Google.
Solution 3:
You don't have to do it this complicated way. If you are using XCode 5 (which I am sure most of us are) then create your icons call them whatever you like i.e.
- myIcon-58.png
- myIcon-57.png
- myIcon-72.png
- myIcon-80.png
- myIcon-100.png ....
And drag and drop them on to the correct boxes under AppIcon. See screenshots. You don't have to manually edit plist file.
Solution 4:
One easy way if you have App icon of size 1024 X 1024. just upload it on below site, It will generate icon folder Add AppIcon.appiconset
in to your application.
Step 1:
Upload your existing 1024 X 1024 icon on Below Site :
https://makeappicon.com/
Step 2 :
It will send you mail.
Download icon.zip from email.
Step 3 : Drag and Drop AppIcon.appiconset
to your application. It will contain all require icon.
It may help you all.
Edit : I am not owner/ promoter of this site. It will save our time.