ios App Icon is missing in the simulator using react native

Viewed 2601

I have added all the icons to their respective places. I added this script that I found in another post but no luck.

enter image description here

I added the script that I found in another post but no luck. I cleaned the build folder hundred times but nothing is working.

4 Answers

Actually in my case the target has been set correctly. All I needed to do was to turn off the simulator and let it get started by the build again.

Have you checked the "Target Membership" in the right-side pane?

  1. Go to "images.xcassets" under your project
  2. Click "AppIcon" or any image asset you have for your project
  3. Show the Inspector on the right
  4. See if "Target Membership" is checked correctly for your app.

XCode Inspectors Window

Select Target from Xcode then navigate to General Tab and under "App Icon and Launch Images" section select "App Icons Source" -> AppIcon

It was greyed out in the Target membership. I fixed that and it worked.

Related