Xcode6 - distributing beta app using iTunes Connect

I am trying to use beta app distribution following this link

I selected the XC provisioning profile: com.example.myapp ...

While downloading, I got the following error message:

ditto: Failed to read PKZip signature Failed to extract archive. Make sure /var/folders/gg/...../MyApp.pkg is a valid zip or ipa archive.

Any idea what the problem is and how to fix it?

+3


source to share


2 answers


You must set the variable "Application requires iPhone environment" to YES



https://devforums.apple.com/message/1037708#1037708

+1


source


The answers I found for this, at the time of this writing, do not seem to be entirely correct. It seems like Apple changed this situation by breaking its own tools again and trying to figure it out all the time! I'll add this in addition to the answer in the hopes it helps someone else:

Add LSRequiresIPhoneOS as response states. But it didn't help downloading via xcode . My solution is to download via Application Loader like this:



  • Export package via xcode (save as .pkg file locally)
  • Launch the application downloader and click on New Login Application. Purchase. "The IAP management screen appears.
  • Select your application, click the "Control" button.
  • On the next screen at the bottom, you will see tabs, one of which is "Hosted Content".
  • You can download your pkg here. Click the "Select" button to select the pkg file, check and deliver.

This was the only way to make it work.

+2


source







All Articles