So its one of those ironies, everyone is one, but no-one wants their stuff pirated.
I’ve wrote a more or less drag and drop in game for people using cracked IPA’s that’ll show if the game detects its cracked, no real effort, but for now its not finished, so I’ll repost the code I found here at How to thwart IPA Hackers
- (void) applicationDidFinishLaunching:(UIApplication*)application
{
[[Director sharedDirector] setAnimationInterval:1.0/60];
[[Director sharedDirector] setMultipleTouchEnabled:YES];
Scene *scene = [Scene node];
// [scene add: [OptionsLayer node] z:0];
//[scene add: [MenuLayer node] z:0];
// [scene add: [GameLayer node] z:0];
[scene add: [IntroLayer node]];
//anti piracy
NSBundle *bundle = [NSBundle mainBundle];
NSDictionary *info = [bundle infoDictionary];
if ([info objectForKey: @"SignedIdentity"] != nil){
[scene removeAll];
[scene add:[PirateGame node]];
}
[[Director sharedDirector] runScene: scene];
}
I like keeping around ways of directly accessing scenes at the begining for debug, totally useful.