升级后,XCode给出“包不包含Info.plist”。存档时出错 [英] After Upgrading, XCode gives "The Package Does Not Contain an Info.plist" error when Archiving

查看:1311
本文介绍了升级后,XCode给出“包不包含Info.plist”。存档时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在应用商店中有一个iOS 7应用,它有许多应用内购买。应用内购买只是我用Apple托管的新的.json数据结构。 IAP用于完美提交,但是当我将我的机器从Mountain Lion升级到Yosemite时,我刚升级到XCode 6.1。现在每当我归档一个新的IAP包或重新归档上周正确提交的旧IAP包时,我得到:

I have an iOS 7 app in the app store which has many in-app purchases. The in-app purchases are simply new .json data structures that I have hosted with Apple. The IAPs used to submit perfectly, but I just upgraded to XCode 6.1 when I upgraded my machine from Mountain Lion to Yosemite. Now whenever I archive a new IAP package or rearchive an old one that submitted properly last week, I get:

无法验证您的应用程序。该软件包不包含Info.plist。

"Unable to validate your application. The package does not contain an Info.plist".

当我点击我的目标时(在Navigator窗格中),Build Settings |包装显示:

When I click on my target (in the Navigator pane), Build Settings | Packaging shows:


  • Info.plist文件为north_carolina.pittsburgh / ContentInfo.plist。 (调试和发布子标题显示相同的信息)。

  • 产品名称是north_carolina.pittsburgh。

  • Info.plist File as "north_carolina.pittsburgh/ContentInfo.plist". (Debug and Release subheadings show the same information).
  • Product Name is "north_carolina.pittsburgh".

ContentInfo.plist文件位于目标的Supporting Files文件夹中(在Navigator窗格中)。在其中我有键

The ContentInfo.plist file is in the Supporting Files folder of my target (in the Navigator pane). In it I have keys for


  • ContentVersion(值设置为2.0)

  • IAPProductIdentifier

  • 捆绑版本字符串,短(值设置为2.0)

最后,在Products文件夹中导航器,我在红色目标图标旁边有north_carolina.pittsburgh,并且单词是红色的。

Finally, in the Products folder of the Navigator, I have north_carolina.pittsburgh next to the red target icon, and the words are in red.

如何正确验证此存档?

推荐答案

错误消息不正确。它真正错误的是你的版本和捆绑数字字符串可能都没有设置。确保在Identity部分中指定两者。

The error message is incorrect. What it's really erroring out on is that your "version" and "bundle" number strings probably aren't both set. Make sure you specify both in the Identity section.

这篇关于升级后,XCode给出“包不包含Info.plist”。存档时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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