Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How should I understand "Save for Development Deployment" in Xcode for iOS app?

In Xcode 7.0 or above,when we archive the project and want to export the archive file as .ipa file,we have the four options:

enter image description here

We have a new option:"Save for Development Deployment".

I don't know what's the difference between "Save for Ad Hoc Deployment" and "Save for Development Deployment".

I called the Apple official support phone service for help,but he told me he's not clear and if I want to get more technical details,I can send emails to the professional help,and then he only sent me some official documentation on the Apple.com.

I have searched the Apple official documentation,I found this:

App Distribution Guide

Exporting Your App for Testing Outside the Store

To distribute your app to users with designated devices, select “Save for Ad Hoc Deployment.” The app will be code signed with the distribution certificate.

To distribute your app for internal testing, select “Save for Development Deployment.” The app will be code signed with your development certificate.

Acorrding to the above words.It seems that:

Same point:
Both of them are for internal use.

Different points:
1.“Save for Ad Hoc Deployment.” for internal distribution,but “Save for Development Deployment.” for internal testing?
2.The difference between “Save for Ad Hoc Deployment.” and “Save for Development Deployment.” is distribution certificate and development certificate?

Note:I have heard that "development certificate" belongs to the individual person but distribution certificate belongs to the whole team,I'm not quite sure about this.

So,who can tell me what's the purpose of "Save for Development Deployment",and what's the difference between "Save for Development Deployment" and “Save for Ad Hoc Deployment.”?

like image 239
ifeegoo Avatar asked Nov 04 '15 12:11

ifeegoo


People also ask

How do I deploy an app to an iOS device?

Install the App on User Devices For macOS, double-click the file to install and run it. To install iOS, iPadOS, tvOS, or watchOS apps using Xcode: Attach the device to the computer, or attach the paired phone for a watchOS device. Select Window > Devices and Simulators, and then select the Devices tab.

Can you make iOS apps with Xcode?

After downloading Xcode and learning Swift, you're going to be able to not only build iOS apps for an iPhone, but also apps for other Apple products such as iPads, Apple watch apps, Apple TV apps, etc. Now, downloading Xcode and learning Swift isn't as simple as it sounds.


1 Answers

1) As apple integrated testflight in itunes connect so when you select "Save for Ad Hoc Deployment" then you can distribute your app to users with designated devices. The app will be code signed with the distribution certificate. i.e it will use distribution certificate which we used to submit app on appstore. Previously when you use "Save for Ad Hoc Deployment" then you can create an ipa from development profile also. but now on it requires distribution certificate for "Save for Ad Hoc Deployment".

2) When you select "Save for Development Deployment" then you can distribute your app using development profile. it just like previously we did with "Save for Ad Hoc Deployment". i.e you can create your ipa file using development certificate also and you can distribute this ipa to your client and testers who's device id is present in your provisioning profile.

like image 79
Nik Avatar answered Sep 20 '22 09:09

Nik