From bcee0f5577c49598d0f168cedbb71809709e1d34 Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Tue, 21 Jan 2020 17:14:16 -0800 Subject: [PATCH] =?UTF-8?q?Disables=20=E2=80=9CRevoked=20AltStore=20Certif?= =?UTF-8?q?icate=E2=80=9D=20check=20for=20debug=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AltStore/Operations/AuthenticationOperation.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AltStore/Operations/AuthenticationOperation.swift b/AltStore/Operations/AuthenticationOperation.swift index cc6c6abb..6e33f88c 100644 --- a/AltStore/Operations/AuthenticationOperation.swift +++ b/AltStore/Operations/AuthenticationOperation.swift @@ -524,6 +524,9 @@ private extension AuthenticationOperation // If we're not using the same certificate used to install AltStore, warn user that they need to refresh. guard !provisioningProfile.certificates.contains(signer.certificate) else { return completionHandler(false) } +#if DEBUG + completionHandler(false) +#else DispatchQueue.main.async { let refreshViewController = self.storyboard.instantiateViewController(withIdentifier: "refreshAltStoreViewController") as! RefreshAltStoreViewController refreshViewController.signer = signer @@ -537,6 +540,7 @@ private extension AuthenticationOperation completionHandler(false) } } +#endif } }