Recently updated to Xcode 10 beta and my App that previously has correct icon displayed when built and ran from Xcode 9.4 to device now shows the default blank icon when running in Xcode 10.
When opening AppIcon asset it shows icon correctly in all the placeholders without any warning icons. When tapping on new "Show Slicing" I do not see anything.
Anyone any clues how to fix this so app icon shows?
Same issue occurs after updated to Xcode 10 beta.
I might fixed it by changing the active developer directory to Xcode 10:
sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer
Or select
Xcode 10.0
inXcode->Preferences->Locations->Command Line Tools
.Hope this helps.
In my case the Xcode was using "Use Asset Catalog" in the App Icons Source. To see that you can go to Project->General->App Icons Source.
To fix it I selected "Migrate" and created a new Assets Catalog. When I did that, the oldest assets catalog got a warning in the App Icon. So I uploaded the icons to this oldest catalog again and deleted the provisional catalog.
The App Icons Source returned to show "AppIcon" and it worked.
In my case these two options were set wrongly
I was testing on the iPad, and in my case the problem was that the default AppIcon did not include any iPad slots.
I don't know if this is something to do with the way my app was initialised (I'm using react native) but I was trouble shooting for ages and didn't even think to check they were there. Silly me...
To fix this i removed the existing icons, clicked the + button and selected ['App Icons & Launch items' -> 'New iOS App Icons'] as shown bellow. Then I just populated as expected.
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.
Make sure your "App Icons Source" has your AppIcon selected under "App Icons and Launch Images" Sometimes your AppIcon can be named something like "AppIcon-1" in your Assets.xcassets folder.