Skip to content

Commit 792441c

Browse files
hugeBlackmahee96
authored andcommitted
Make AltSign accepts bundle id mismatch profile (SideStore#10)
it doesn't build in Actions but i trust it'll work elsewhere
1 parent fac53b6 commit 792441c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

AltSign/Signing/ALTSigner.mm

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,11 @@ - (NSProgress *)signAppAtURL:(NSURL *)appURL provisioningProfiles:(NSArray<ALTPr
324324
return profile;
325325
}
326326
}
327-
328-
return nil;
327+
if(profiles.count > 0) {
328+
return profiles[0];
329+
} else {
330+
return nil;
331+
}
329332
};
330333

331334
NSError * (^prepareApp)(ALTApplication *) = ^NSError *(ALTApplication *app) {

0 commit comments

Comments
 (0)