[AltServer] Fixes “Max Apps Allowed” error when updating an already-installed app

Removes provisioning profile from device before installation, then adds them back afterwards
This commit is contained in:
Riley Testut
2019-06-18 17:40:30 -07:00
parent e7391a0542
commit 3ac663fbf1
5 changed files with 129 additions and 18 deletions

View File

@@ -246,7 +246,7 @@ private extension ViewController
{
let certificates = try Result(certificates, error).get()
guard let certificate = certificates.first(where: { $0.identifier == certificate.identifier }) else {
guard let certificate = certificates.first(where: { $0.serialNumber == certificate.serialNumber }) else {
throw InstallError.missingCertificate
}