Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exporting an archive for Enterprise Deployment in XCode 6

Tags:

xcode

ios

I can archive my project in XCode 6 and choose the Enterprise Deployment Option. In XCode 5 when you go to choose the location of the archive on the file system you get a check box that says "Save for Enterprise" and you get several other options to complete like url. This generates the plist file. I dont get that in Xcode 6, just the ipa. Is this because XCode 6 is Beta? Or do you no longer get a plist as well as the ipa?

like image 877
Tommy Alexander Avatar asked Jun 25 '14 22:06

Tommy Alexander


People also ask

How do I export an Xcode archive?

The Step archives your Xcode project by running the xcodebuild archive command and then exports the archive into an . ipa file with the xcodebuild -exportArchive command. This . ipa file can be shared, installed on test devices, or uploaded to the App Store Connect.

How do I create an Xcode archive?

Archive your App In Xcode with your project open, select the simulator (button near the top of the window next to your project name, typically named as a specific type of iPhone) – change it to Generic iOS Device. Open the Product menu and choose Archive. You will see the archive information. Click Validate App.


1 Answers

I couldn't get a plist either so I used a trick.

To distribute my app Over The Air anyway, I used a plist formerly generated with XCode 5 and changed manually the link to my newly generated IPA.

Once you managed to do that, there is one last thing to know. When you'll open the link to the plist, you'll have the impression that nothing happens because iOS don't close you current window + slide to the downloaded app anymore. But it doesn't necessarily mean that nothing happen! Go to your home screen manually and check.

UPDATE

If that still doesn't work, try this workaround: change your bundle ID, generate your new App ID and provisioning profile accordingly, regenerate your IPA and redo the above. For some, it works only the first time for a given bundle ID!

like image 120
Aurelien Porte Avatar answered Oct 02 '22 16:10

Aurelien Porte