From cd2c506df669e1ea3f046c97f263aca3e98c9f0d Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Sun, 24 May 2020 09:30:53 -1000 Subject: Ignore missing file for TrustMe.app --- uicache.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/uicache.mm b/uicache.mm index bd173b7..0b972aa 100644 --- a/uicache.mm +++ b/uicache.mm @@ -204,6 +204,9 @@ bool registerPath(NSString *path) if ([infoDictionary objectForKey:@"CFBundleExecutable"]) { NSString *executable = [realPath stringByAppendingPathComponent:[infoDictionary objectForKey:@"CFBundleExecutable"]]; if (![fm fileExistsAtPath:executable]) { + if ([bundleID isEqual:@"com.apple.TrustMe"]) { + return true; + } fprintf(stderr, "Error: CFBundleExecutable defined but missing for %s - this is a fatal error. Aborting.\n", realPath.lastPathComponent.UTF8String); return false; } -- cgit v1.2.3