iOS 配置文件过期
我们正在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
配置配置文件有 2 个键:
分别采用日期或持续时间(以秒为单位),满足条件后,将删除配置文件。但也许这不是您要找的?
The configuration Profile has 2 keys:
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?
配置文件支持键“PayloadExpirationDate”。
您可以在配置文件中设置到期日期,到期后,配置文件内会出现一个新按钮,可以手动更新配置文件。
您可以在以下链接中查看文档:
https://developer.apple.com/library/ios/featuredarticles /iPhoneConfigurationProfileRef/Introduction/Introduction.html
另外,Apple 文档“Over-the-Air Profile Delivery Concepts”说
但是,我无法手动或自动更新配置文件。
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
However, I wasn't able to update the profile, not manually and not automatically.
据我所知,没有办法控制有效期。
As far as I know, there is no way to control the expiration date.