iOS Developer Builds与Distribution Builds [英] iOS Developer Builds vs Distribution Builds

查看:140
本文介绍了iOS Developer Builds与Distribution Builds的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直认为,对于iOS,使用开发人员配置文件签署构建允许应用程序通过XCode在授权设备(在开发配置文件中列出)上运行(并进行调试)构建,而使用分发配置文件进行签名允许应用程序在已经专门添加到分发配置文件的其他iOS设备上运行(但未调试),以进行QA / beta测试/等(并通过iTunes同步或安装) OTA分发),无需那些QA / beta测试人员甚至不知道XCode是什么。

I've been under the impression for some time that for iOS, signing a build with a developer provisioning profile allows the app to run (and get debugged) on an authorized device (listed in the development provisioning profile) through an XCode build, whereas signing with a distribution profile allows the app to be run (but not debugged) on other iOS devices that have been specifically added to the distribution provisioning file for the purposes of QA/beta testing/etc (and installed via iTunes sync or OTA distribution), without the need for those QA/beta-testers to even know what an XCode is.

似乎与Apple自己的几个文档相匹配:

Seems to match several of Apple's own docs:


当你'准备好分享您的应用程序以进行用户测试[...],您需要
来使用分发配置
配置文件创建应用程序存档并将其发送给应用测试人员(来源


代码使用开发配置文件签名允许您的应用程序通过Xcode在
设备上运行,并使用分发配置文件签名允许
您创建分发版本。

Code Signing with a development profile allows your app to run on device through Xcode, and signing with a distribution profile allows you to create distribution builds.

名为iPhone Developer的证书允许您通过Xcode在iOS设备上运行/调试
应用程序,名为iPhone
Distribution的证书允许使用testi纳克您提交的建立与特设
分布(的

The certificate named "iPhone Developer" allows you to run/debug your app on iOS devices through Xcode, and the certificate named "iPhone Distribution" allows testing your submission build with Ad Hoc distribution (source)

这似乎意味着使用分发配置文件是在App Store外部进行应用程序共享所必需的,多年来我一直认为这是真的。然而,最近我向其他同事展示了一个用例,他们只使用开发配置文件就可以与许多其他人共享构建。另一位用户在此处描述了类似的发现:为什么不使用开发配置而不是临时的?

This seems to imply that using a distribution profile is necessary to do app sharing outside of the App Store, and for years I've always assumed this to be true. Recently however, I've been shown a use case from another colleague where they've been able to share builds with many other people using only a development provisioning file. Another user has described a similar discovery here: Why not use development provisioning instead of ad hoc?

我担心我可能会遗漏一些东西,我现在怀疑有些情况只要另一个用户可以访问包含其设备的UUID的相关开发人员配置文件,并将其安装在他们的设备上(拖入iTunes,配置实用程序等),他们也可以通过iTunes同步Developer版本,而无需制作单独的分配构建。

I'm worried I might be missing something here, I'm now suspicious that there are cases where as long as another user has access to a relevant developer provisioning profile that includes their device's UUID, and installs it on their device (drag into iTunes, config utility, etc), that they would be able to sync Developer builds through iTunes as well, without the need for making separate Distribution builds.

这让我质疑一些关于开发人员和分发版本之间差异性质的假设。我开始认为它更多的是关于调试支持和一般的安装简易性,而不是它的安装方式(XCode vs iTunes / OTA明确)。

This has led me to question some of the assumptions I've had about the nature of the differences between developer and distribution builds in general. I'm starting to think that it's more about debug support and general ease of installation, rather than the nature of how it's installed (XCode vs iTunes/OTA explicitly).

简而言之,如果某个设备将UUID包含在开发人员配置文件中,我是否真的需要进行单独的分发版本,或者我可以简单地共享Release Development构建并假设它可以与iTunes一起使用同步也是?组织者中的用于开发按钮是否与此有任何实际关联?

In short, if a device has it's UUID included in a developer provisioning profile, do I really need to make separate distribution builds, or can I simply share a Release Development build and assume that will work with an iTunes sync as well? Does the "Use for Development" button in organizer have any real relevance to this?

更广泛地说:开发人员和AdHoc构建之间的根本区别是什么?在提交到App Store之前,可以在开发/测试阶段在组织内的其他人之间共享吗?

More broadly: what are the fundamental differences between Developer and AdHoc builds in terms of how they can be shared among other people within an organization in the development/testing phase before being submitted to the App Store?

推荐答案

检查这个SO 帖子的开发商之间进行上市的差异分配建设。从开发人员的角度来看,如果您想要通过使用开发人员资料或分发配置文件对应用程序进行签名来分发您的应用程序没有太大区别,只要您没有测试推送通知。

Check this SO Post for the differences listed out between developer and distribution builds. From a developer perspective, there is not much difference whether you want to distribute your app either by signing it with a developer profile or distribution profile, provided you are not testing push notifications.

这篇关于iOS Developer Builds与Distribution Builds的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆