Reputation: 184
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
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
Reputation: 184
It was greyed out in the Target membership. I fixed that and it worked.
Upvotes: 0
Reputation: 749
Have you checked the "Target Membership" in the right-side pane?
- Go to "images.xcassets" under your project
- Click "AppIcon" or any image asset you have for your project
- Show the Inspector on the right
- See if "Target Membership" is checked correctly for your app.
Upvotes: 9
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