iPhone - 在我自己的 iPhone 上为我自己的应用程序拥有永久配置文件:任何配置文件都会在一年后过期
开发应用程序时,我曾经使用开发配置文件来测试它。但是,此配置文件以及分发配置文件都有一个到期日期。这是否意味着:
如果开发人员不续订 Apple 开发计划的订阅,我在应用商店购买的任何应用程序都可能会停止工作,因此他无法续订配置文件?
如果我不续订该程序,我在自己的 iPhone 上安装的自己的应用程序可能会在一年后停止工作?
如果是,有没有办法让我自己的应用程序在我的 iPhone 上“永远”运行,即使我不续订 Apple 开发计划?
When developing an app, I used to test it with a Development provisionning profile. But, this provisionning profile, as well as the distribution one, have an expiration date. Does it mean that :
any app I buy on the appstore may stop working if the developper does not renew its subscription to the Apple dev program, so he can't renew the provisionning profile ?
My own apps that I install on my won iPhone may stop working after a year if I don't renew that program ?
If yes, is there a way to make my own apps work "forever" on my iPhone even if I don't renew the Apple dev program ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在应用程序商店购买的任何应用程序都不能脱离配置文件运行(“配置”一词应该是这里的线索)。
对于使用绕过应用程序商店的二进制文件安装的任何应用程序来说,配置配置文件都是必需的。例如,当将应用程序加载到您的设备上进行测试或将应用程序发送给 Beta 测试人员时,该应用程序将使用配置文件运行。
配置文件在一年内过期的原因是,除非续订,否则您的开发许可证每年都会过期。苹果希望确保你不会继续在自己的设备上使用自己的应用程序,除非你花的钱超过了他们的 99 美元。因此,只要您遵守 Apple 的规则,任何配置文件都将在您的开发人员许可证到期日或之前到期。
Any app purchased on the app store does not function off of a provisioning profile (the word "provisioning" should be the clue here).
A provisioning profile is necessary for any app installed using the binary that by pass the app store. For example, when loading an app onto your device for testing or sending out an app to beta testers, the app runs using a provisioning profile.
The reason that a profile expires within a year is because your license to develop expires annually unless renewed. Apple wants to ensure that you don't keep using your own apps on your own device unless you shell over their $99. So as long as you're conforming to Apple's rules, any profile will expire on or before the expiry date for your developer's license.
即使该应用程序的开发者不续订其订阅,用户在 App Store 上购买的应用程序也将继续运行。
来自 http://developer.apple.com/library/ios /#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html
第一次在设备上,通过联系 Apple 的 OCSP 服务器来验证分发证书。除非证书已被吊销,否则应用程序将被允许运行。无法联系 OCSP 服务器或无法从 OCSP 服务器获取响应不会被解释为撤销。要验证状态,设备必须能够访问 ocsp.apple.com。请参阅“网络配置要求”。
OCSP 响应会在设备上缓存 OCSP 服务器指定的时间段(当前为 3 到 7 天)。在设备重新启动且缓存的响应过期之前,不会再次检查证书的有效性。如果当时收到撤销,应用程序将被阻止运行。撤销分发证书将使您分发的所有应用程序失效。
如果分发证书已过期,应用程序将无法运行。目前,分发证书的有效期为一年。在证书到期前几周,从 iOS 开发中心请求新的分发证书,使用它创建新的分发配置文件,然后重新编译并将更新的应用程序分发给您的用户。请参阅“提供更新的应用程序”。
因此,当证书过期时,您的手机或测试人员手机上安装的应用程序将停止工作。
App that users buy on App Store will continue working even if the developer of that app doesn't renew his subscription.
From http://developer.apple.com/library/ios/#featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html
The first time an application is opened on a device, the distribution certificate is validated by contacting Apple’s OCSP server. Unless the certificate has been revoked, the app is allowed to run. Inability to contact or get a response from the OCSP server is not interpreted as a revocation. To verify the status, the device must be able to reach ocsp.apple.com. See “Network Configuration Requirements.”
The OCSP response is cached on the device for the period of time specified by the OCSP server—currently between 3 and 7 days. The validity of the certificate will not be checked again until the device has restarted and the cached response has expired. If a revocation is received at that time, the app will be prevented from running. Revoking a distribution certificate will invalidate all of the applications you have distributed.
An app will not run if the distribution certificate has expired. Currently, distribution certificates are valid for one year. A few weeks before your certificate expires, request a new distribution certificate from the iOS Dev Center, use it to create new distribution provisioning profiles, and then recompile and distribute the updated apps to your users. See “Providing Updated Apps.”
So your apps that have been installed on your phone or beta testers phone, would stop working when the certificate expires.