Paito
Paito

Reputation: 1553

Why isn't my iOS8 Application Action Extension App Icon showing up?

My app icon is just a grey super ellipse even though I have specified a icon asset catalog in my Targets App Icons and Launch Images.

Upvotes: 13

Views: 11593

Answers (3)

DenVog
DenVog

Reputation: 4286

The following worked for me creating a Share Extension, but I believe Action Extension will do the same. Note that in the case of an Action extension, you need a monochromatic version.

If you are using an asset catalog for your main application icon, you should be able to get the Extension to leverage that same asset catalog. The key for me was to:

  1. Select my extension and tell it to use Asset Catalog. Select the same catalog your main icon is using. The default should be AppIcon enter image description here

  2. Select the image.xcassets file in XCode Project Navigator

  3. Check my extension so that it is included in the Target Membership

enter image description here

Upvotes: 27

Daniel Åkesson
Daniel Åkesson

Reputation: 1360

EDIT: This worked for me for iphone but not for ipad simulator. Making new images (60x60 and 76x76) with only black and white solved it.

Add the image.xcassets to the extension target

Add to target

Upvotes: 6

Paito
Paito

Reputation: 1553

Your asset catalog in your main application isn't accessible from your application extension as they are two separate applications bundles that can only share Frameworks.

You will need to create a separate asset catalog in your action extensions folder and reference that one in your Targets.

Upvotes: 13

Related Questions