Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

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?

like image 611
Paulw11 Avatar asked Sep 10 '14 06:09

Paulw11


1 Answers

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
like image 140
Paulw11 Avatar answered Oct 16 '22 22:10

Paulw11