无法读取 App Store 的 PKZip 签名验证应用程序 [英] Can't read PKZip signature validating app for App Store

查看:21
本文介绍了无法读取 App Store 的 PKZip 签名验证应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试向 App Store 提交应用的新版本.

I am attempting to submit a new version of my app to the App Store.

我使用的是 Xcode 6 GM.此应用程序的先前版本是使用 Xcode 5.1 提交的,没有问题.

I am using Xcode 6 GM. The previous version of this app was submitted with Xcode 5.1 without issue.

生成应用程序存档后,单击组织器中的验证...".Xcode 会引导我完成选择我的开发团队并验证将使用的配置文件的过程.

After I generate the app archive, I click "Validate..." in the organiser. Xcode takes me through the process of selecting my developer team and verifies the provisioning profile that will be used.

然后开始生成包,然后失败并显示消息

It then starts to generate the package before failing with the message

同上:无法读取 PKZip 签名无法提取存档.请确保/var/.....pkg 的路径是有效的 zip 或 ipa 存档.

ditto: Couldn't read PKZip Signature Unable to extract archive. Please make sure /var/....path to .pkg is a valid zip or ipa archive.

我已经导航到该目录并在命令行上尝试了 zip - 这会出现错误.如果我将文件重命名为 .zip,那么 Finder 很乐意解压缩它,但 Zipeg 也会返回错误.

I have navigated to the directory and tried zip on the command line - this gives an error. If I rename the file to .zip then Finder is happy to unzip it, but Zipeg also returns an error.

我尝试过的:

  • 构建->清理
  • 重新创建配置文件
  • 重新创建我的签名证书
  • 检查所有代码签名"设置是否与我的其他有效项目相同

我还查看了打包过程中创建的日志文件,在出现有关无效 zip 文件的错误之前,没有列出任何不妥之处.

I have also looked into the log files that are created by the packaging process and there is nothing untoward listed until the error about the invalid zip file.

有人看过吗?

推荐答案

我从 Apple 开发人员支持那里收到了解决方法的详细信息.

I have received details of a work-around from Apple developer support.

  1. 打开目标的 Info.plist
  2. 在 plist 中选择一个条目,然后从编辑器菜单中选择显示原始键和值"
  3. 确保键LSRequiresIPhoneOS"的值为YES"(必要时添加)
  4. 重新生成存档并提交

这篇关于无法读取 App Store 的 PKZip 签名验证应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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