From 2a72f832e35d56a748537c894b00a236bae8f16a Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 18 Aug 2009 18:00:24 +0000 Subject: UIKit Tools is not part of Telesphoreo. --- uicache.mm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'uicache.mm') diff --git a/uicache.mm b/uicache.mm index 71f67d8..e08fe5d 100644 --- a/uicache.mm +++ b/uicache.mm @@ -54,9 +54,13 @@ int main() { NSString *plist = [path stringByAppendingPathComponent:@"Info.plist"]; if (NSMutableDictionary *info = [[NSMutableDictionary alloc] initWithContentsOfFile:plist]) { [info autorelease]; - [info setObject:path forKey:@"Path"]; - [info setObject:@"System" forKey:@"ApplicationType"]; - [system addInfoDictionary:info]; + if ([info objectForKey:@"CFBundleIdentifier"] == nil) + fprintf(stderr, "%s missing CFBundleIdentifier", [app UTF8String]); + else { + [info setObject:path forKey:@"Path"]; + [info setObject:@"System" forKey:@"ApplicationType"]; + [system addInfoDictionary:info]; + } } } } else goto error; -- cgit v1.2.3