2016-07-25 101 views

回答

0

我遇到了以及有关Visual Studio的这个图标的大小一些怪异的行为。

确保在您的Resources文件夹中有另一个图标[email protected],并将生成操作设置为BundleResource

现在重建您的项目。检查info.plist文件,如果您有像这样的条目:<string>[email protected]</string>。 如果你这样做,你可以提交该IPA。如果它不在那里,请手动将其置于CFBundleIconFiles键之下,然后重新进行重建。

<key>CFBundleIconFiles</key> 
    <array> 
     <string>[email protected]</string> 
     <string>Icon-72.png</string> 
     <string>[email protected]</string> 
     <string>Icon.png</string> 
     <string>[email protected]</string> 
     <string>Icon-76.png</string> 
     <string>[email protected]</string> 
     <string>[email protected]</string> 
     <string>[email protected]</string> 
     <string>[email protected]</string> 
     <string>Icon-Small-50.png</string> 
     <string>Icon-Small-40.png</string> 
     <string>[email protected]</string> 
     <string>Icon-Small.png</string> 
     <string>[email protected]</string> 
    </array> 

仔细检查该条目未被构建过程擦除。如果它没有提交你的ipa到商店。

所有这一切的缺点是,正如我遇到过的那样,该条目是由构建过程从列表中删除的。或者更具体地说,当我更改影响info.plist文件的项目选项中的任何内容时。

另一种解决此问题的方法是切换到资产目录。

相关问题