开发者

Expiring iPhone Provisioning Profiles

开发者 https://www.devze.com 2023-01-09 14:57 出处:网络
My client is asking me to distribute a demo app that should only be allowed to run for 5 days from the date of distribution. Is there a way for me to reduce the valid date of a provisioning profile in

My client is asking me to distribute a demo app that should only be allowed to run for 5 days from the date of distribution. Is there a way for me to reduce the valid date of a provisioning profile in the iPhone provisioning portal to, say, 5 days, instead of the default 1 year for an ad-hoc 开发者_StackOverflow社区distribution provisioning profile?


If you know the date of distribution, why don't you just hardcode it in your app and make sure that the app quits (exit(0)) if launched after fifth day? Apple suggests not to use exit(0) but its an ad-hoc distribution anyway..

0

精彩评论

暂无评论...
验证码 换一张
取 消