Asif
Asif

Reputation: 184

ios App Icon is missing in the simulator using react native

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.

Upvotes: 5

Views: 7417

Answers (4)

Macilias
Macilias

Reputation: 3543

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.

Upvotes: 11

Asif
Asif

Reputation: 184

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

Upvotes: 0

Ziwon
Ziwon

Reputation: 749

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

Upvotes: 9

Amit Yadav
Amit Yadav

Reputation: 21

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

Upvotes: 2

Related Questions