分发 - App Store 配置的应用程序在测试设备上运行
有谁可以回答这个问题吗?这确实没有意义,我想避免以后被拒绝......
我已经为我的公司创建了单一分发证书。
我已成功地将其用于临时分发,将其链接到包含所有测试设备的临时配置文件。
我还向 Apple 提交了应用程序,其中包含单独的 App Store 配置文件(已选择 App Store,并且没有链接到任何设备)但具有相同的分发证书。它被拒绝了,但这是由于仅出现在发布构建配置中的错误造成的,我现在已经对此进行了排序。
作为解决该问题的一部分,我发现我可以将发布配置构建的应用程序(使用应用程序商店配置文件)复制到我的设备上,并且它运行良好。
虽然这对于解决问题很方便,但我认为我无法在我的设备上运行它。
我错过了什么或者苹果现在允许这样做吗?
我可以在两者上使用相同的分发证书吗? - 是 - 谢谢@Swapna
我想知道我提交的应用程序实际上是否是使用 Adhoc 配置文件构建的,并且当它最终发布时它会失败。
我还听说我应该为每次提交创建一个新的配置文件。这是对的吗?如果是,为什么? - 不 - 谢谢@Swapna
非常感谢,
克里斯。
Is there anyone who can answer this? It really doesn't make sense and I want to avoid getting rejected later.....
I have created a single Distribution Certificate for my company.
I have successfully used this for Adhoc distribution, linking it to an Adhoc Provisioning Profile which includes all the test devices.
I have also submitted the App to Apple with a separate App Store Provisioning Profile (has App Store selected and does not have any devices linked to it) but the same Distribution Certificate. It was rejected but that was due to a bug that only appeared in the Release Build config and I've sorted that now.
As part of resolving that, I found that I could copy the Release config built App (which uses the App Store Provisioning Profile) to my devices and it runs fine.
Whilst that was handy for resolving the issue, I didn't think I would be able to run it on my devices.
Am I missing something or does Apple allow this now?
Am I right to use the same Distribution Certificate on both? - YES - thanks @Swapna
I'm wondering if in fact the App I submitted was somehow built using the Adhoc Provisioning Profile and that it will fail when it finally gets released.
I've also heard that I should create a new Provisioning Profile for each submission. Is that right and if so, why? - NO - thanks @Swapna
Many thanks,
Chris.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我也刚刚发现这个。我们向 App Store 提交了一个版本,我还将其拖入 iTunes,将其同步到我的手机,发现它可以正常工作。我找不到任何其他关于此的信息。
I have just found this too. We submitted a build to the App Store and I have also dragged it into iTunes, synced it to my phone, and found it working. I can't find any other information on this.
您可以对 Ad Hoc 配置文件和 App store 分发配置文件使用相同的分发证书。
但是,必须为临时分发和应用程序商店分发创建和下载单独的配置文件。
如果您需要升级现有应用程序,则必须使用您在向 iTunes 提交申请以供批准时创建的相同配置文件。仅当应用程序是新应用程序时,才应创建新的配置文件。
You can use the same distribution certificate for Ad Hoc profile and App store distribution profile.
However separate provisioning profile has to created and downloaded for Ad hoc distribution and App store distribution.
If you need to upgrade an existing app, you will have to use the same Provisioning Profile you had created while submitting your application to iTunes for approval. New Provisioning Profile should be created, only if the application is a new one.
我可以验证一下,我创建了一个分发证书,其中我选择了 Ad Hoc 而不是 App store,在一些设备上构建并测试了该应用程序。然后,我没有使用其他分发证书(我选择了应用程序商店而不是 Ad Hoc),而是将相同的二进制文件提交到应用程序商店,并期待出现错误消息。有趣的是,应用商店接受了二进制文件。现在,我希望不会出现拒绝的问题,或者更糟糕的是,应用程序上线后只能在我选择 Ad Hoc 分发选项时指定的测试设备上运行。
坐下来等待..
I can verify that for once, I created a single distribution certificate where I chose Ad Hoc instead of App store, built and tested the app on a few devices. Then, instead of using my other distribution certificate (where I chose App store rather than Ad Hoc), I just submitted the same binary to the appstore, expecting an error message. Interestingly, the App store accepted the binary. Now, I hope there will not be a problem of rejection, or, even worse, the app goes live but can only run on the test devices I specified when I chose the Ad Hoc distribution option.
Sitting back and waiting ..