5
votes

I have an iPhone application which is not optimised to work on iPad, but it contains all the icons for iPad. When I install an app on iPad - there is no icon. Also, when I download my app from the store on iPad - it doesn't have an icon...

In Xcode 9 I've marked the app as "universal" and built it. The icon appeared! Marked back as "iPhone only" - icon disappeared.

So the question is: How to make an "iPhone only" app has an icon on iPad?

P.S.

Created a new icon set with iPad support. Icons provided and activated. Doesn't help

P.S.

Cleaning and deleting derived data doesn't help

P.S.

I have an icon for iPad and iPad all checkmark is selected in project.

I've found the reason:

<key>CFBundleIcons</key>
<dict/>
<key>CFBundleIcons~ipad</key>
<dict/>

These lines in info.plist made the icon set disabled. And I have no idea where they came from... When I removed these lines - the icon appeared on iPad.

Thanks for help!!!

2

2 Answers

9
votes

These lines in info.plist made the iPad icon in assets to be ignored

<key>CFBundleIcons</key>
<dict/>
<key>CFBundleIcons~ipad</key>
<dict/>

When I removed these lines - the icon appeared on iPad

1
votes

just navigate to the attributes inspector ,and select the check box. enter image description here