Defend against apps with encrypted binaries

This commit is contained in:
alfiecg24
2023-12-10 15:47:58 +00:00
parent 0759b7717a
commit 16d4771621
21 changed files with 205 additions and 136 deletions
+3
View File
@@ -74,6 +74,9 @@ extern NSUserDefaults* trollStoreUserDefaults();
case 179:
errorDescription = @"The app you tried to install has the same identifier as a system app already installed on the device. The installation has been prevented to protect you from possible bootloops or other issues.";
break;
case 180:
errorDescription = @"The app you tried to install contains encrypted binaries, which cannot have the CoreTrust bypass applied to them. Please ensure you install decrypted apps.";
break;
}
NSError* error = [NSError errorWithDomain:TrollStoreErrorDomain code:code userInfo:@{NSLocalizedDescriptionKey : errorDescription}];