X-Git-Url: https://git.saurik.com/uikittools.git/blobdiff_plain/2618b3e95d753aea41a970219bee94cf006ec1f9..743eb46fb998aa6deaaa2569b9ff84726ed286fe:/uicache.mm?ds=sidebyside diff --git a/uicache.mm b/uicache.mm index 8397703..41a8839 100644 --- a/uicache.mm +++ b/uicache.mm @@ -64,7 +64,7 @@ int main(int argc, const char *argv[]) { NSString *plist = [path stringByAppendingPathComponent:@"Info.plist"]; if (NSMutableDictionary *info = [NSMutableDictionary dictionaryWithContentsOfFile:plist]) { - if (NSString *bundle = [info objectForKey:@"CFBundleIdentifier"]) { + if ([info objectForKey:@"CFBundleIdentifier"] != nil) { [bundles addObject:path]; [info setObject:path forKey:@"Path"]; [info setObject:@"System" forKey:@"ApplicationType"];