From: Jay Freeman (saurik) Date: Fri, 31 Oct 2014 16:02:50 +0000 (+0000) Subject: Do not attempt to fix the iOS 6 bug on iOS 7 or 8. X-Git-Tag: v1.1.9^0 X-Git-Url: https://git.saurik.com/uikittools.git/commitdiff_plain/445ca7c40d970d9ed973e67040123c2e020fd294 Do not attempt to fix the iOS 6 bug on iOS 7 or 8. --- diff --git a/extrainst_.mm b/extrainst_.mm index 9a6a679..a938b04 100644 --- a/extrainst_.mm +++ b/extrainst_.mm @@ -137,7 +137,7 @@ int main(int argc, const char *argv[]) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - if (kCFCoreFoundationVersionNumber >= 700) { // XXX: iOS 6.x + if (kCFCoreFoundationVersionNumber >= 700 && kCFCoreFoundationVersionNumber < 800) { // XXX: iOS 6.x NSString *home(@"/var/mobile"); NSString *plist([NSString stringWithFormat:@"%@/Library/Caches/com.apple.mobile.installation.plist", home]); NSDictionary *cache([NSDictionary dictionaryWithContentsOfFile:plist]);