App Icons not included in build from Xcode
You are not alone.
In my project, I found that a previous AppIcon resource that was working fine no longer resulted in an app icon being rendered. A range of experimentation found the following:
- An AppIcon resource copied in from another project where the AppIcon worked, resulted in the AppIcon working in this project, suggesting there was something wrong with the specific original AppIcon resource that wasn't working.
- Copying the image files from the non-working to the working AppIcon asset resulted in the working one now failing also.
- Creating a new AppIcon resource, and inserting the original app icon images likewise led to a blank app icon.
Combined together, the points to this stage suggested perhaps there was something wrong with the image files themselves. I therefore tried various steps to resolve this:
- Re-exporting all the icon sizes with my usual pre-processing app Prepo. Ensured that my source image did not contain transparency. Inserting those re-created icon images still resulted in a blank app icon.
- Re-creating all the icon sizes with a different process, via Sketch, and inserting those icon images into the same AppIcon resource resulted in the app icon working.
- Creating a new AppIcon resource, and inserting the Sketch-created images resulted in the app icon still working.
All of the above suggests that there is something in Xcode 9 which rejects or fails to use previously working app icon images, and that some processes to create app icons that previously were fine produce images that Xcode 9 cannot use. Perhaps there is something within the png specification which is a valid png, but not an acceptable app icon to Xcode 9. The most obvious thought is that app icons with transparency might be rejected, but I do not believe the icon images I was using contained transparency and I tried to eliminate this in my testing above.
A completely separate cause that has been reported for some users is related to CocoaPods integration. See discussion with possible temporary fix here and a pull request that has been created for Cocoapods that theoretically addresses this issue. I say theoretically addresses because I've tried implementing both of these solutions, and neither of them resolved the issue on the project where I've encountered it.
Xcode 10 app icon not showing
On 6/19/18 Apple released Xcode 10. beta 2. Upgrading solved the problem I was having with icons not appearing. So, a bug in Xcode 10.0 I guess.
Missing required icon files in build from Xcode 9
As @Daniel Kuta said the solution is:
- locate your app's xcarchive file,
- show package contents >> products >> applications >> your application's name >> show package contents.
- Locate the info plist from here, and change the BuildMachineOsBuild to 16A323.
However above solution will remove first three errors, but not the last one warning.
App Store submission shows app icon issues in Xcode 11
Make sure your asset catalog is in fact part of the app target.
Make sure your build settings point to the AppIcon image set.
And make sure you don't have multiple asset catalogs with multiple AppIcon image sets, as the build system will not know which one to use.
You should be able to open the built app package in the Finder and see the CFBundleIcon entry:
<key>CFBundleIcons</key>
<dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AppIcon60x60</string>
</array>
<key>CFBundleIconName</key>
<string>AppIcon</string>
</dict>
</dict>
Icon does not appear in iOS app (xcode assets configuration)
I solved this problem by adding the icons without using asset catalog. I took exam like this sample.
Missing Appicons for IOS App Store upload
It looks like your images aren't the right size. Go to Preview -> Tools -> Adjust Size... according to Xcode.
Related Topics
How to Convert an Int to Hex String in Swift
Minimum and Maximum Date in Uidatepicker
Using Custom Font in a Uiwebview
Why Push Notifications Is Not Working on Testflight
iOS 5.1 with Xcode 4.2 and Retina in iPad 3
Why Does My Programmatically Created Screenshot Look So Bad on iOS 7
Programmatically Add Centerx/Centery Constraints
Find the Tangent of a Point on a Cubic Bezier Curve
Custom Font Sizing in Xcode 6 Size Classes Not Working Properly with Custom Fonts
Localizing Strings in iOS: Default (Fallback) Language
Best Way to Parse Url String to Get Values for Keys
iOS 11 - Keyboard Height Is Returning 0 in Keyboard Notification
Refresh Devices in Team Provisioning Profile Managed by Xcode 7
Missing Cfbundleiconname in Xcode9 iOS11 App Release
How Does Cellforrowatindexpath Work