问题描述
我们公司同时拥有 Appstore 和 Enterprise 分发许可证.我们将通过企业许可证使用当前测试版进行演示.一些用户将下载企业应用程序来测试 Beta 版.在 appstore 发布后,我们希望 Appstore 应用程序覆盖在演示期间下载的企业测试版.这样,下载测试版应用程序的人可以切换到已发布的版本.如果我们为企业和商店应用程序提供相同的捆绑标识符,这可能吗?推送通知证书会发生什么?
Our company has both Appstore and Enterprise distribution licence. We are going to make demonstration with current beta version via enterprise licence. Some users going to download enterprise app to test beta release. After appstore publish we want Appstore app override the enterprise beta release which downloaded during the demonstration. So that, people who downloaded beta app can be switch with released version. If we give the same bundle identifier both to enterprise and store app, is this possible? What would happen to the push notification certificates?
推荐答案
遗憾的是,您不能让企业应用程序和 App Store 应用程序共享相同的捆绑标识符 (= AppID).App Store 应用程序需要通过在普通开发者帐户中创建的配置文件进行配置.企业内部应用程序需要由单独的企业开发人员帐户提供,因为您无法在普通开发人员帐户中创建企业分发配置文件,反之亦然.一旦您在一个帐户中设置了 AppID,您就不能在另一个帐户中设置它,因为 AppID 需要是唯一的.
Unfortunately, you can not have an Enterprise App and an App Store App share the same Bundle Identifier (= AppID). App Store Apps need be provisioned by a profile created in a normal Developer Account. Enterprise In House Apps need to be provisioned by a separate Enterprise Developer Account, as you can not create Enterprise Distribution Profiles in a normal Developer Account and vice versa. Once you set up the AppID in one account, you can not set it up in the other, because an AppID needs to be unique.
替代方案:
- 不要使用企业帐户.将 AppStore- 和 AdHoc-Provisioning(用于 Beta 测试)与普通开发者帐户结合使用
- 尝试通过 Apple 的 TestFlight.它允许您分发 App-Store IPA 的预发布版本,而不受 AdHoc-Provisioning 的限制.在此设置中您不需要 Enterprise Acc.
- 使用单独的 AppID.一种用于企业帐户.一个用于普通开发者帐户.安装后,这将导致设备上出现 2 个不同的应用.
- Don't use the Enterprise Account. Use AppStore- and AdHoc-Provisioning (for Beta-Testing) with the normal Developer Account
- Try Beta-Testing via Apple's TestFlight. It allows you to distribute Pre-Release versions of your App-Store IPA without the restrictions of AdHoc-Provisioning. You don't need the Enterprise Acc in this setup.
- Use separate AppIDs. One for the Enterprise Account. One for the normal Developer Account. That would result in 2 different Apps on a device, once installed.
为了简化您的推送通知设置,您应该使用 1. 或 2.
To simplify your Push Notification setup, you should run with 1. or 2.
这篇关于iOS Appstore 应用覆盖企业应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!