iPhone app developers are facing their hard worked app appears on the pirate app web site the day after it appears on iTunes. So you must want to protect your app as I do, right? But how? What’s the best way to protect your apps?
Here is the best practice by far I know. And it’s really simple and easy to do with. As far as Doskoi know, every hacked iPhone app need to add a key to the info.plist file. They need to add this:
SignerIdentity Apple iPhone OS Application Signing
So it would be easy for us to detect whether your app was pirated or not. Simply using the following code to protect your apps.
NSBundle *bundle = [NSBundle mainBundle];
NSDictionary *info = [bundle infoDictionary];
if ([info objectForKey: @"SignerIdentity"] != nil)
{
// Add your anti-pirate code here.
}
Hope it will help you.
When a store has double doors why do they only let you use one of them?
Very interesting and amusing subject. I read with great pleasure.
really loved the article added to my favourites