Bernie
Bernie

Reputation: 1489

Asset Catalogue compiler warning: a 76x76@2x app icon is required for iPad apps targeting IOS 7.0 and later

I've been having this warning for ages, and I just can't seem to get rid of it.

The warning is:

/Images.xcassets: A 76x76@2x app icon is required for iPad apps targeting iOS 7.0 and later

I've tried completely replacing the asset catalogue with a brand new one, and copying in ones which work on other projects. I've even tried simply not using asset catalogues, but I can't seem to shake this warning.

I can't see any reason as to why it's appearing, especially when I do have a 152x152 app icon in there.

Note, I'm trying to do an icon for iPad IOS 7.

Is there something I'm missing?

Upvotes: 28

Views: 21139

Answers (5)

PJ_Finnegan
PJ_Finnegan

Reputation: 2181

Xcode 9/Swift 4

Same issue here. I only had a 152x152 icon in the "iPad App iOS 7-11 76 pt @2x" slot and I solved by adding a 76x76 icon in the @1x slot.

Upvotes: 0

Akshay Sunderwani
Akshay Sunderwani

Reputation: 12476

I was having the same problem, i was missing icon for iOS 6.1 and earlier. So i found a important guide on app icon by apple you can found it here.

enter image description here

Hope this will help you.

Edit: Your name of icon must be same os of apple icon naming mentioned on the link.

Upvotes: 5

user5104686
user5104686

Reputation:

I was having this same problem. Made sure that the Attributes Inspector for AppIcon had iPad unchecked, and made sure that Deployment Info -> Devices was set for iPhone, then hit Shift-Cmd-K to clean. Went right away, then I was able to add them and the deployment setting again like normal. Worked great.

Upvotes: 9

Jalakoo
Jalakoo

Reputation: 3593

Alex's answer didn't work for me when targeting environments below 7.0, but did prompt me to look at the utilities panel, if you open it you'll see checkbox options for "iOS 6.1 and prior sizes". Check this on to reveal the missing icon assets.

XCode 5 Utilities Panel to reveal additional image asset options

Upvotes: 48

Alex Nevsky
Alex Nevsky

Reputation: 900

Oh... It's a pain.

You have to set enough width for Xcode and you will see all images assets.

Xcode Images.xcassets

Upvotes: 26

Related Questions