info plist 似乎已过时,无法使用 App Store 验证应用程序 [英] info plist seems outdated and cannot validate App with App Store

查看:24
本文介绍了info plist 似乎已过时,无法使用 App Store 验证应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近做了一个项目,该项目是通用的,我复制粘贴了该项目.有了这个副本,我做了一个不支持 iPad 的精简版.

I took a project I did recently where the app was universal and I copy-pasted the project. With the copy, I've done a Lite version where I don't support iPad.

我已经改变了我认为使这个项目独一无二的所有必要的东西,独立于它是另一个项目的副本:更改了 bundleID(与商店中的第一个版本匹配)、项目名称、显示名称等.我已经删除了 iPad 故事板和所有 iPad 图标.我还从 plist 中删除了 iPad 图标.

I've changed everything I think necessary to make this project as unique, independently that it was a copy from another project: changed the bundleID (matches with the first version on the store), project name, display name, etc. I've removed the iPad storyboard and all the iPad icons. I've also removed the iPad icons from the plist.

现在该应用程序已准备就绪,我正在尝试与 Apple 进行验证.然后它给了我以下错误:

Now the App is ready to go and i'm trying to validate it with Apple. Then it gives me the following error:

Icon specified in the Info.plist not found under the top level app wrapper: Icon-72@2x.png (-19007)

但是对于所有丢失"的图标.在我尝试验证之前,调试器什么也没说,但在验证尝试之后,它现在给了我 6 个警告,这些警告与上面的错误相同.每个缺少图标"发出一个警告.

but for all the "missing" icons. Before I tried to validate, the debugger said nothing but after the validation attempt, it now give me 6 warnings, which say the same as the error above. One warning per "missing Icon".

我尝试从 xcode 中删除派生数据、清理项目、重新启动 Xcode 等.但它一直告诉我同样的情况.

I've tried to delete derived data from xcode, clean the project, restart Xcode, etc. But it keeps telling me the same.

有什么想法吗?提前致谢!

Any idea? Thanks in advance!

推荐答案

如果您通过项目界面从通用更改为仅限 iPhone,iPad-Icon 和 iPad-Storyboard 仍在 info.plist 中.

If you change from universial to iPhone-only via project interface, the iPad-Icon and the iPad-Storyboard are still in the info.plist.

只需打开 info.plist 作为 Propertylist 并删除错误的条目.

Just open the info.plist as Propertylist and delete the wrong entries.

这篇关于info plist 似乎已过时,无法使用 App Store 验证应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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