iPhone / iPod Touch:Info.plist:无法验证图标尺寸,找不到图标 [英] iPhone/iPod Touch: Info.plist: Unable to verify icon dimensions, no icon found

查看:132
本文介绍了iPhone / iPod Touch:Info.plist:无法验证图标尺寸,找不到图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发布这个的原因是我尝试了所有在线编写的解决方案,但没有一个对我有用。我错过了什么?有人可以帮忙吗?
通过xcode 4.6中的档案工具验证我的应用程序
这是我收到的错误消息:

The reason I'm posting this is that I have tried all solutions written online and none has worked for me. What is it that I am missing? Anyone can help? While validating my app via the Archives tool in xcode 4.6 This is the error messages I am getting:

iPhone / iPod Touch :Info.plist:无法验证图标尺寸,找不到图标。你必须定义CFBundleIcons,CFBundleIconFiles,CFBundleIconFile,或提供57x57的默认Icon.png。

它也给了我同样的错误,iPad,虽然我的应用程序并非专为iPad设计,但在iOS应用程序目标中,设备已设置为iPhone。我不知道为什么iPad被包含为错误。我甚至试图上传iPad Icon-72.png但仍然存在错误。

It is also giving me the same error for iPad, though my app is NOT designed for iPad to start with and in the iOS Application Target, Devices is set to iPhone. I don't know why the iPad is included as an error. I even tried to upload an iPad Icon-72.png and still the error is there.

如何摆脱这个错误?
我有Icon.png,Icon @ 2x.png和Icon-72.png,图标在模拟器和设备上都能正常工作。

How can I get rid of this error? I have Icon.png, Icon@2x.png and Icon-72.png and the icons work fine both on the simulator and the device.

我的尝试:


  1. 在构建中设置,我将压缩PNG文件设置为NO。没解决!

  2. 我删除了图片,再次推送,清理,构建并验证了
    。未解决!

  3. 我尝试此其他解决方案。未解决!

  4. 我尝试将已包含光泽的图标设置为NO。尚未解决。

  1. In the Build Settings, I set Compress PNG Files to NO. Not resolved!
  2. I deleted the images, pushed them again, cleaned, built and validated. Not resolved!
  3. I tried this other solution. Not resolved!
  4. I tried setting "Icons already include gloss" to NO. Not resolved.

以下是我的错误图片:

推荐答案

现在,我终于解决了这个问题:

Now here's how I got this finally resolved:


  • 我没有在.app包中找到图标,我在那里手动添加了图标。
    要查看.app包的内容,请从管理器中按住Control键并单击存档,然后选择在Finder中显示。然后,按住Control键并单击.archive文件(包)并选择显示包内容。在Products / Applications目录下,您应该找到您的应用程序。按住Control键并单击您的应用,然后选择显示包内容。您的图标文件应该存在。

  • 我创建了一个新的存档。
    产品 - >存档创建新存档,
    然后在尝试验证之前在管理器中选择新存档

这两个解决方案协同工作,在.app包中添加图标并一起创建新存档已经验证了应用程序,我现在可以看到图标很好。终于工作了!

Those two solutions worked together, adding the icons in the .app bundle and creating a new archive all together has validated the app and I can see the icons now good. Finally worked!

这篇关于iPhone / iPod Touch:Info.plist:无法验证图标尺寸,找不到图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆