简体   繁体   English

无法读取App Store的PKZip签名验证应用程序

[英]Can't read PKZip signature validating app for App Store

I am attempting to submit a new version of my app to the App Store. 我正在尝试将我的应用程序的新版本提交到App Store。

I am using Xcode 6 GM. 我正在使用Xcode 6 GM。 The previous version of this app was submitted with Xcode 5.1 without issue. 此应用程序的先前版本与Xcode 5.1一起提交,没有任何问题。

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. Xcode带我完成了选择我的开发团队的过程,并验证了将使用的配置文件。

It then starts to generate the package before failing with the message 然后它会在失败之前开始生成包

ditto: Couldn't read PKZip Signature Unable to extract archive. 同上:无法读取PKZip签名无法提取存档。 Please make sure /var/....path to .pkg is a valid zip or ipa archive. 请确保/var/....path到.pkg是有效的zip或ipa存档。

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,那么Finder很乐意将其解压缩,但Zipeg也会返回错误。

What I have tried: 我尝试过的:

  • Build->Clean 建设 - >清洁
  • Recreated the provisioning profile 重新创建配置文件
  • Recreated my signing certificate 重新创建我的签名证书
  • Checked all of the "code signing" settings are the same as for my other projects that work 检查所有“代码签名”设置与我工作的其他项目相同

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. 我还查看了打包过程创建的日志文件,并且在关于无效zip文件的错误之前没有列出任何不良内容。

Has anyone seen this? 有没有人见过这个?

I have received details of a work-around from Apple developer support. 我收到了Apple开发人员支持的详细信息。

  1. Open your target's Info.plist 打开目标的Info.plist
  2. Select an entry in the plist and then select "Show raw keys & values" from the Editor menu 在plist中选择一个条目,然后从Editor菜单中选择“Show raw keys&values”
  3. Ensure the key "LSRequiresIPhoneOS" has the value "YES" (add it if necessary) 确保键“LSRequiresIPhoneOS”的值为“YES”(必要时添加)
  4. Regenerate your archive and submit 重新生成您的存档并提交

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM