简体   繁体   中英

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:

在此输入图像描述

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.”?

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. ie 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". ie 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.

I think:

1. The purpose of "Save for Development Deployment" is that If you don't have the distribution certificate,you can also use development certificate to distribute your app!

2. The difference between "Save for Development Deployment" and “Save for Ad Hoc Deployment.” ,the difference is the type of certificate.

With Ad Hoc Development Apple gives you an URL to send to your registered testers. With Development Deployment, your users have to install the .ipa.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM