I have written an iPhone App for a client and they are using my ad hoc provisioning profile. If I wanted to stop them from using the App e.g. they don’t pay etc and disappear.
Could I just remove the provisioning profile from the developer site and would this cause that app to stop working?
No, once the app is installed on your client’s device, it will continue to work.
What I do for my own ADHOC apps is to have a text file on a private web server that my ADHOC apps “ping” (e.g. via
[[NSString alloc] initWithContentsOfURL]) and if the contents of that text file say something like"INVALID", Iexit(-1)the app. This is usually a good thing to do with clients who might potentially stiff or avoid paying their bills.If you do something like what I am describing above, MAKE CERTAIN to remove that code prior to putting it up on the Apple Store. Apple can reject your app for doing a stunt like that.