开发者

Expiring iPhone Provisioning Profiles

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜