iOS 配置文件过期

发布于 2024-12-19 16:14:35 字数 153 浏览 0 评论 0原文

我们正在 IT 中构建 iOS OTA 注册系统。 阅读 Apple 文档后,我找不到如何在设备上安装的配置文件上设置到期日期的参考。

我的动机是为我要根据设备所有者安装的配置文件创建到期日期(他们必须在我安装之前登录)

有没有办法控制配置配置文件的有效时间?

We are building iOS OTA Enrollment system in our IT.
After reading Apple docs, i would not find reference how to set an expiration date on the Configuration Profile installed on the device.

My motivation is to create expiration date on profiles that i am going to install based on the device owner (they have to login before i install it)

Is there a way to control how long the Configuration Profile is valid for?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

静若繁花 2024-12-26 16:14:35

配置配置文件有 2 个键:

RemovalDate
DurationUntilRemoval

分别采用日期或持续时间(以秒为单位),满足条件后,将删除配置文件。但也许这不是您要找的?

The configuration Profile has 2 keys:

RemovalDate
DurationUntilRemoval

Which takes a date or duration in seconds respectively, which when satisfied, will remove the profile. But maybe that wasn't what you're looking for?

十秒萌定你 2024-12-26 16:14:35

配置文件支持键“PayloadExpirationDate”。

您可以在配置文件中设置到期日期,到期后,配置文件内会出现一个新按钮,可以手动更新配置文件。

您可以在以下链接中查看文档:
https://developer.apple.com/library/ios/featuredarticles /iPhoneConfigurationProfileRef/Introduction/Introduction.html

另外,Apple 文档“Over-the-Air Profile Delivery Concepts”说

收到最终的加密配置文件后,设备会安装它。
如果配置文件过期或者如果
VPN 连接尝试失败。

但是,我无法手动或自动更新配置文件。

The Configuration Profile supports the key "PayloadExpirationDate".

You can set the expiration date in the profile, and after the expiration, a new button inside the profile will appear to update the profile manually.

You can see the documentation in the following link:
https://developer.apple.com/library/ios/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html

Also, the Apple documentation "Over-the-Air Profile Delivery Concepts" says

Upon receiving the final encrypted profile, the device installs it.
Reconfiguration occurs automatically if the profile expires or if
a VPN connection attempt fails.

However, I wasn't able to update the profile, not manually and not automatically.

口干舌燥 2024-12-26 16:14:35

据我所知,没有办法控制有效期。

As far as I know, there is no way to control the expiration date.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文