Stop the application from working with the client

I wrote an iPhone app for my client and they use my ad hoc Provision profile. If I wanted to stop them from using the application, for example. they don’t pay, etc. and do not disappear.

Can I just delete the provisioning profile from the developer's site, and this will cause the application to stop working?

+4
source share
2 answers

No, once the application is installed on your client device, it will continue to work.

What I do for my ADHOC applications is to have a text file on a private web server that my ADHOC applications "ping" (for example, via [[NSString alloc] initWithContentsOfURL] ), and if the contents of this text file says something- something like "INVALID" , I exit(-1) application. This is usually a good thing to do with customers who are potentially tough or do not pay their bills.

If you are doing something like the one I describe above, MEET to remove this code before posting it on the Apple Store. Apple may reject your application to perform this trick.

+3
source

An easy way to keep your profile expiration date as low as possible. After the expiration of the special profile of the provision of services on the device, the application will not start (it will be completed as it starts).

+2
source

Source: https://habr.com/ru/post/1393940/


All Articles