From aaac2a2666a97a2406936177a6755c81a7d8140d Mon Sep 17 00:00:00 2001 From: Huge_Black Date: Sun, 22 Jun 2025 15:12:28 +0800 Subject: [PATCH 1/2] Make AltSign accepts bundle id mismatch profile --- AltSign/Signing/ALTSigner.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AltSign/Signing/ALTSigner.mm b/AltSign/Signing/ALTSigner.mm index 38b207f..184cee8 100644 --- a/AltSign/Signing/ALTSigner.mm +++ b/AltSign/Signing/ALTSigner.mm @@ -325,7 +325,7 @@ - (NSProgress *)signAppAtURL:(NSURL *)appURL provisioningProfiles:(NSArray Date: Sun, 22 Jun 2025 15:41:26 +0800 Subject: [PATCH 2/2] safety check --- AltSign/Signing/ALTSigner.mm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/AltSign/Signing/ALTSigner.mm b/AltSign/Signing/ALTSigner.mm index 184cee8..7ba9bfc 100644 --- a/AltSign/Signing/ALTSigner.mm +++ b/AltSign/Signing/ALTSigner.mm @@ -324,8 +324,11 @@ - (NSProgress *)signAppAtURL:(NSURL *)appURL provisioningProfiles:(NSArray 0) { + return profiles[0]; + } else { + return nil; + } }; NSError * (^prepareApp)(ALTApplication *) = ^NSError *(ALTApplication *app) {