Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between all 4 methods for deployment in Xcode?

In Xcode, after archiving you can click "export" to generate an .ipa that you can then distribute outside of the App Store. However, there are several options for exporting. Namely:

  • Save for iOS App Store Deployment
  • Save for Ad Hoc Deployment
  • Save for Enterprise Deployment
  • Save for Development Deployment

What are the differences between this four methods?

like image 705
Diego Avatar asked Dec 14 '15 22:12

Diego


People also ask

What is the difference between development adhoc distribution?

1. Development: - Used in development phase of the app to run the app on simulator and developer devices. (If a developer device is not in this list the in-development app can not be installed). 2. Ad Hoc: - Is provided to distribute the app to a known finite set of iOS devices outside the AppStore.

What is iOS deployment target in Xcode?

In short, every application that runs on one of Apple's platforms has a deployment target. A deployment target is nothing more than the minimum version of the operating system the application can run on. Fire up Xcode and create a new project by choosing the App template from the iOS > Application section.

What is an adhoc profile?

Ad-hoc Profile: A distribution profile for distributing an app to devices registered in the developer account.

What is ad hoc certificate iOS?

The Ad-Hoc certificate allows you to build your app to run on a predetermined list of devices. There are a couple big caveats though: You need the UDID of every device you want the app to run on. The user needs to install the provisioning profile for the app as well as the device manually.


1 Answers

As far as I can tell, the only difference is the provisioning profile that is included within the .ipa file. Also, if you have not generated the profile that is needed, Xcode will automatically generate it for you:

  • If you choose "Save for iOS App Store Deployment", a regular distribution profile will be used.
  • If you choose "Save for Ad Hoc Deployment", an Ad Hoc distribution profile will be used.
  • If you choose "Save for Enterprise Deployment", an In House distribution profile will be used.
  • If you choose "Save for Development Deployment", a regular development profile will be used.

I had a lot of problems trying to understand this and I came to the conclusion that Apple, in trying to make things "simpler," they made things a lot more confusing and harder to understand. In my opinion it's always better to know what you're doing instead of having the machine do it automatically for you.

like image 91
Diego Avatar answered Nov 01 '22 16:11

Diego