I can't see iOS AppIcon when installing the build from the latest Xcode Beta. What could be the possible error?
I have included the required icon sizes including 1024x1024.
It contains all mobile platforms ( iOS, Android, iWatch, etc) needed icons. Now you need to copy these icons into the Xcode project, what you need to do is just drag the folder AppIcon. appiconset under the iOS folder, and drop it to Assets.
Icons Disappear from App LauncherIf you haven't tried to restart the device yet, give that a try. Press and hold the “Power” button, then select “Restart“. In many cases, the Home screen will refresh and the icon(s) will return.
Open your ejected React Native app (the iOS version) in Xcode and locate the aforementioned Image. xcassets folder. Then drag and drop your app logo over the AppIcon image. As you can see, there are about 20 different image sizes that you need to specify.
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:
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:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With