andrewz
andrewz

Reputation: 5220

Why is my iOS app icon blank even though I am using the image asset mechanism and all the icons are filled?

When I run my app from Xcode on a device or in the simulator, the app icon is blank. I am using the image asset mechanism and have all icons filled. When I went back to using the old approach and filled out my .info file with icons, same thing. What's going on?

I am using Xcode 6.1 and building for iOS 7.

Also, the target under TARGETS on the project page, has the proper icon.

Here is a screenshot showing the icon that appears in the simulator and device:

enter image description here

Here is a screenshot showing the referenced assets under General:

Screenshot showing referencing assets

Here is a screenshot showing contents of Images.xcassets:

enter image description here

Upvotes: 3

Views: 2603

Answers (1)

andrewz
andrewz

Reputation: 5220

I have removed the assets folder from the project and then created a new asset catalog. Closed project. Moved old json and png files to under new asset catalog folders. Reopened Xcode. Works.

Currently I can't browse files under the Images.xcassets folder in the project navigator, whereas before I could. Perhaps this can be an indicator to you if you encounter similar problems.

Upvotes: 2

Related Questions