我应该如何理解 Xcode for iOS app 中的“Save for Development Deployment”?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/33521719/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How should I understand "Save for Development Deployment" in Xcode for iOS app?
提问by ifeegoo
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:
在 Xcode 7.0 或更高版本中,当我们归档项目并希望将归档文件导出为 .ipa 文件时,我们有四个选项:
We have a new option:"Save for Development Deployment"
.
我们有一个新选项:"Save for Development Deployment"
.
I don't know what's the difference between "Save for Ad Hoc Deployment"
and "Save for Development Deployment"
.
我不知道"Save for Ad Hoc Deployment"
和之间有什么区别"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.
我打电话给Apple官方支持电话寻求帮助,但他告诉我他不清楚,如果我想了解更多技术细节,我可以发送电子邮件给专业帮助,然后他只给我发了一些Apple的官方文档。 com。
I have searched the Apple official documentation,I found this:
我搜索了苹果官方文档,我发现了这个:
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.
要将您的应用分发给使用指定设备的用户,请选择“Save for Ad Hoc Deployment”。该应用程序将使用分发证书进行代码签名。
要分发您的应用程序进行内部测试,请选择“保存用于开发部署”。该应用程序将使用您的开发证书进行代码签名。
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?
不同点:
1.“保存以供临时部署”。用于内部分发,但“保存用于开发部署”。用于内部测试?
2.“Save for Ad Hoc Deployment”的区别。和“保存用于开发部署”。是经销证和开发证吗?
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.”?
那么,谁能告诉我“Save for Development Deployment”的目的是什么,“Save for Development Deployment”和“Save for Ad Hoc Deployment”有什么区别?
采纳答案by Nik
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".
1) 由于苹果在 iTunes 中集成了 testflight 连接,因此当您选择“保存用于临时部署”时,您可以将您的应用程序分发给具有指定设备的用户。该应用程序将使用分发证书进行代码签名。即它将使用我们用来在 appstore 上提交应用程序的分发证书。以前,当您使用“Save for Ad Hoc Deployment”时,您也可以从开发配置文件创建 ipa。但现在它需要“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.
2) 当您选择“保存用于开发部署”时,您可以使用开发配置文件分发您的应用程序。就像之前我们对“保存用于临时部署”所做的一样。即您也可以使用开发证书创建您的 ipa 文件,您可以将此 ipa 分发给您的客户端和测试人员,他们的设备 ID 存在于您的配置文件中。
回答by Nik
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!
1. “Save for Development Deployment”的目的是如果你没有分发证书,你也可以使用开发证书来分发你的应用程序!
2.The difference between "Save for Development Deployment" and “Save for Ad Hoc Deployment.”,the difference is the type of certificate.
2. “Save for Development Deployment”和“Save for Ad Hoc Deployment”的区别。,区别在于证书的类型。
回答by Freeman
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.
通过 Ad Hoc Development,Apple 为您提供了一个 URL,可以发送给您的注册测试人员。使用开发部署,您的用户必须安装 .ipa。