ios 区别:Ad Hoc 发行版和 Developmental 发行版
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/9529007/
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
Difference: Ad Hoc distribution and Developmental distribution
提问by alekhine
I am in process of creating my first app and have some confusion over Ad Hoc provisioning profile and Development Provisioning profile. I understand that this question is asked before this but needed some clarification and confirmation.
我正在创建我的第一个应用程序,并且对 Ad Hoc 配置文件和开发配置文件有些困惑。我知道在此之前有人问过这个问题,但需要一些澄清和确认。
Looking at previous answers on stackoverflow I assume there are following differences:
查看以前关于 stackoverflow 的答案,我认为存在以下差异:
Ad hoc builds can be installed without iTunes while development builds(.ipa) must be installed from iTunes
Debugger cannot be attched to Ad hoc build while development build has debugger
Device tokens are different as APNS uses two modes sandbox, production environments depending upon build is Ad hoc or developmental
Ad hoc 构建可以在没有 iTunes 的情况下安装,而开发构建 (.ipa) 必须从 iTunes 安装
当开发版本有调试器时,调试器不能附加到临时版本
设备令牌不同,因为 APNS 使用两种模式沙箱,生产环境取决于构建是临时还是开发
And I have following questions
我有以下问题
On many forums it is written that there is limit of 100 users on Ad hoc builds but nothing is mentioned that if developmental builds have such limits. Also these limits of 100 users are per developer profile or per application?
Also does only Ad hoc builds require UDIDs of device to get installed on them? what about developmental builds?
Please see if I have got differences correctly, whether this misses any important difference and any information on questions will be of immense help
在许多论坛上都写到 Ad hoc 构建有 100 个用户的限制,但没有提到开发构建是否有这样的限制。还有这些 100 个用户的限制是每个开发人员配置文件还是每个应用程序?
是否只有 Ad hoc 构建需要设备的 UDID 才能安装在它们上面?发展建设呢?
请看看我是否正确了分歧,这是否错过任何重要的区别,并针对问题的任何信息都会有很大帮助
回答by richerd
Expanding on your comments
扩展您的评论
Ad Hoc builds can be distributed and installed though iTunes, the X Code organizer or though the web. One service for managing adhoc builds and testing is Testflight (https://testflightapp.com/) check them out they have lots of resources regarding provision profiles,
Normally your distribution builds are optimized with debugging information stripped, so yes you can not debug adhoc & distribution builds in the debugger.
Your App ID is linked to APNS, so the certificate you generate is linked to your application. Device tokens on Sandbox and production are different.
Ad Hoc 构建可以通过 iTunes、X Code 管理器或网络分发和安装。管理临时构建和测试的一项服务是 Testflight (https://testflightapp.com/) 检查他们有很多关于配置文件的资源,
通常,您的发行版构建会在去除调试信息的情况下进行优化,因此是的,您无法在调试器中调试临时和发行版构建。
您的 App ID 链接到 APNS,因此您生成的证书链接到您的应用程序。沙盒和生产上的设备令牌是不同的。
To answer your questions
回答您的问题
for your iOS developer profile you're limited to 100 devices across the entire account. These are shared between applications. 100 devices means that you are allowed to register 100 devices per developer account per year. At the end of the year when you renew your account you can edit this list and reset your device quota.
Both ad hoc builds and developer builds require your UDIDs. What happens is that the provision profile (development or adhoc) must match the provision profile that the app was signed against. Under development it's usually easiest to use a wildcard App ID (such as *) but when you are releasing (under ad hoc or app store distribution) you should use the full App ID name such as com.company.appname this is to identify your app under services such as In app purchases or Push notification services
对于您的 iOS 开发者个人资料,您在整个帐户中仅限于 100 台设备。这些在应用程序之间共享。100 台设备意味着您每年可以为每个开发者帐户注册 100 台设备。在年底续订帐户时,您可以编辑此列表并重置您的设备配额。
临时构建和开发人员构建都需要您的 UDID。发生的情况是供应配置文件(开发或临时)必须与应用程序签署的供应配置文件相匹配。在开发过程中,通常最容易使用通配符 App ID(例如 *),但是当您发布(在临时或应用商店分发下)时,您应该使用完整的 App ID 名称,例如 com.company.appname,这是为了标识您的应用内购买或推送通知服务等服务下的应用
回答by Soumya
AdHoc distribution allows you to install the IPA on 100 devices which you can distribute for testing mainly. Also apart from those 100 devices, the IPA cannot be installed on any other device. Also, once a UDID has been added to the list of devices, it cannot be edited until the next renewal of the developer account.
即席分布可以让你上,你可以发布测试主要是100台设备上安装IPA。此外,除了这 100 台设备外,IPA 无法安装在任何其他设备上。此外,一旦将 UDID 添加到设备列表中,则在开发者帐户的下一次续订之前无法对其进行编辑。