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

查看:35
本文介绍了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. 在 Build Settings 中,我将 Compress PNG Files 设置为 NO.未解决!
  2. 我删除了图像,再次推送,清理,构建和验证.未解决!
  3. 我尝试了其他解决方案.未解决!
  4. 我尝试将图标已经包含光泽"设置为否.未解决.

这是我的窃听错误的图像:

推荐答案

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

Now here's how I got this finally resolved:

  • 我在 .app 包中没有找到图标,我在那里手动添加了图标.要查看 .app 包的内容,请从管理器中,按住 Control 键单击存档,选择在 Finder 中显示".然后,按住 Control 键并单击 .archive 文件(包)并选择显示包内容".在 Products/Applications 目录下,您应该可以找到您的应用程序.按住 Control 键并单击您的应用程序并选择显示包内容".您的图标文件应该存在.
  • 我创建了一个新存档.Product->Archive 创建一个新的存档,然后在尝试验证之前在 Organizer 中选择了新存档

这两个解决方案协同工作,在 .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天全站免登陆