Reputation: 7756
I'm trying to use the Beta App Distribution following this link
I've chosen provisioning profile XC:com.example.myapp...
During the upload process, I got the following error message:
ditto: Couldn't read PKZip signature Unable to extract archive. Please make sure /var/folders/gg/...../MyApp.pkg is valid zip or ipa archive.
Any idea what's the problem and how to fix it?
Upvotes: 3
Views: 806
Reputation: 1955
The answers I've found for this don't seem to be fully correct at the time of writing this. Apple seems to have changed this around yet again breaking their own tools and costing us all time trying to figure it out! I'll add this in addition to the answer in the hope it'll help anyone else:
Add the LSRequiresIPhoneOS as the answer states. But this didn't help uploading via xcode. My solution is to upload via Application Loader as follows:
This was the only way I could get it working.
Upvotes: 2
Reputation: 24741
You've got to set the variable "Application requires iPhone environment" to YES
https://devforums.apple.com/message/1037708#1037708
Upvotes: 1