Can't read PKZip signature validating app for App Store

老子叫甜甜 提交于 2019-12-20 08:35:36

问题


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

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

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

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

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.

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.

Has anyone seen this?


回答1:


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

  1. Open your target's Info.plist
  2. Select an entry in the plist and then select "Show raw keys & values" from the Editor menu
  3. Ensure the key "LSRequiresIPhoneOS" has the value "YES" (add it if necessary)
  4. Regenerate your archive and submit


来源:https://stackoverflow.com/questions/25758669/cant-read-pkzip-signature-validating-app-for-app-store

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!