From dbfda2af58c3682e1cb61966f040b9325a1b478d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Wed, 8 Jan 2014 02:54:07 -0800 Subject: [PATCH] We no longer need to simulate linking newer SDKs. --- Application.mm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Application.mm b/Application.mm index 2b5bfb3..772cc07 100644 --- a/Application.mm +++ b/Application.mm @@ -30,7 +30,6 @@ #import #import -#include #include static NSBundle *wbSettingsBundle; @@ -168,17 +167,9 @@ static Class $WBSettingsController; @end -MSHook(int32_t, NSVersionOfLinkTimeLibrary, const char *name) { - if (strcmp(name, "UIKit") == 0) - return 0x6400000; - return _NSVersionOfLinkTimeLibrary(name); -} - int main(int argc, char *argv[]) { NSAutoreleasePool *pool( [[NSAutoreleasePool alloc] init]); - MSHookFunction(NSVersionOfLinkTimeLibrary, MSHake(NSVersionOfLinkTimeLibrary)); - int value = UIApplicationMain(argc, argv, @"WBApplication", @"WBApplication"); [pool release]; -- 2.45.2