gpt4 book ai didi

ios - 使用 "Automatically manage signing"/allowProvisioningUpdates 时何时更新配置文件?

转载 作者:技术小花猫 更新时间:2023-10-29 10:10:05 27 4
gpt4 key购买 nike

我有一个企业分布式应用程序,它是使用 xcodebuild 在构建服务器上构建的。去年我们进行了更改,使用带有“-allowProvisioningUpdates”标志的“自动管理签名”功能。使用此技术可以很好地生成供应配置文件,但我们将使用此配置文件长达一年,并将在 31 天后过期。

最初我的印象是使用“allowProvisioningUpdates”会导致配置文件在每次新构建时重新生成,但如果是这样的话,它就不会过期。我们需要使用更新的配置文件进行新构建,这样我们的用户就不会在几个月内留下一个损坏的应用程序。但是,生成的配置文件未显示在 Apple 开发人员中心的“证书、标识符和配置文件”部分,而且我找不到任何方法强制 Xcode 或 xcodebuild 生成新的配置文件。我怎样才能强制这种情况发生以确保我们的用户没有停机时间?当配置文件最终到期时会发生什么?

最佳答案

我联系了 Apple,他们是这样说的:

Automatically manage signing on Xcode only creates a new provisioning profile after the expiration date of the previous.

That is the best option for new builds that needs to be submitted to App Store because there is no downtime from current users when the provisioning profile.

As you are developing in-house apps, if you let the provisioning profile expire to automatically sign for your new build (with new provisioning profile auto-created) your users will not be able to access you app.

因此,答案似乎是我们不应该为内部/企业分发使用自动签名,而应该只为 App Store 部署使用自动签名。

关于ios - 使用 "Automatically manage signing"/allowProvisioningUpdates 时何时更新配置文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51950541/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com