ldid and CoreTrust bypass used the same error code

This commit is contained in:
alfiecg24 2024-03-22 21:50:21 +00:00
parent ac42b6b6c0
commit 2e646919f6
2 changed files with 3 additions and 1 deletions

View File

@ -715,7 +715,7 @@ int signApp(NSString* appPath)
else {
NSLog(@"[%@] CoreTrust bypass failed!!! :(", filePath);
fat_free(fat);
return 175;
return 185;
}
// tempFile is now signed, overwrite original file at filePath with it

View File

@ -88,6 +88,8 @@ extern NSUserDefaults* trollStoreUserDefaults();
break;
case 184:
errorDescription = @"The app was installed successfully, but has additional binaries that are encrypted (e.g. extensions, plugins). The app itself should work, but you may experience broken functionality as a result.";
case 185:
errorDescription = @"Failed to sign the app. The CoreTrust bypass returned a non zero status code.";
}
NSError* error = [NSError errorWithDomain:TrollStoreErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : errorDescription}];