Search code examples
iosiphonexcodeipadapp-store

Empty app icon on iPad for iPhone only application


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!!!


Solution

  • 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