diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2009-08-18 18:00:24 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2009-08-18 18:00:24 +0000 |
commit | 2a72f832e35d56a748537c894b00a236bae8f16a (patch) | |
tree | bd051fda8c5ed41ab9d87a4bfe1c83590e3794fc /uicache.mm | |
parent | 7fb7ce13deab7a4d127f5f04e0c82069a6cf2014 (diff) |
UIKit Tools is not part of Telesphoreo.
Diffstat (limited to 'uicache.mm')
-rw-r--r-- | uicache.mm | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -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; |