Changing alternate icon for iPad

后端 未结 6 886
粉色の甜心
粉色の甜心 2021-02-07 02:24

I have a problem with changing app\'s icon on iPad. Everything is working fine on iPhone but on iPad I get this error :

[default] Failed to set preferred

6条回答
  •  终归单人心
    2021-02-07 02:56

    The error is showing a different file name than the one in .plist CFBundleAlternateIcons. Make sure you assign a correct Filename in and it actually exists in the project folder.

    Error Shows AI-Gorgosaurus as the file name. .plist screenshot shows AI-Diabloceratops~ipad, also please remove ~ symbol from the file name.

    Do a clean and build the project after you're sure file is correct. Make sure you have @2x and @3x version of your Icons in your project folder.

    Read Kaiyuan Xu answer for a more clear picture on how to use CFBundleAlternateIcons.

提交回复
热议问题