2016-06-28 114 views
0

我在我的应用程序中添加了需要的图标文件。但是,当我上传应用程序到应用程序商店,然后它显示我说错误捆绑包不包含图标文件57 * 57但在我的应用程序,我已经拥有它。为什么要在info.plist文件中添加图标?

我在Xcode 5中开发了这个应用程序,那时我在info.plist中添加了图标,因为在某些设备图标上不可见。

<dict> 
     <key>CFBundlePrimaryIcon</key> 
     <dict> 
      <key>CFBundleIconFiles</key> 
      <array> 
       <string>icon76</string> 
       <string>icon40</string> 
       <string>[email protected]</string> 
       <string>[email protected]</string> 
       <string>[email protected]</string> 
       <string>[email protected]</string> 
       <string>icon50</string> 
      </array> 
      <key>UIPrerenderedIcon</key> 
      <true/> 
     </dict> 
    </dict> 

那么,为什么我们的plist,因为在Xcode 7我没有plist中添加图标名称仍然有人上传到应用商店我最新的项目添加图标。

UPDATE

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

中的plist &上面的代码中使用想跑它不显示任何图标

+0

为什么你不使用资产目录? –

+0

现在长大只是使用设置图标访问我的答案:http://stackoverflow.com/questions/18736954/missing-recommended-icon-file-the-bundle-does-not-contain-an-app-icon-为iph/18737063#18737063和我没有发现任何57x57在你的plist –

+0

我已经长大bro.read我的问题两次我有一个疑问和上传应用程序的问题 – Techiee

回答

0

使用图像资产,并填写了各自的尺寸和分辨率的所有图标。 反过来,它会自动添加到pList中,因为Xcode本身就是这样做的,就像在项目设置中添加URL方案时一样,所有这些URL都由XCode本身添加到plist中。 上传到Appstore时,他们检查plist信息。

0

遵循以下步骤可以帮助你

  • 选择项目目标。
  • 选择的应用程序图标和源图像>选择APPICON>然后点击箭头按钮

enter image description here

  • 空应用图标集被创建,与图像以及用于组中的每个图像表示。

从设置查看器中将Finder中的应用程序图标拖到适当的图像上。

相关问题