Skip to content

Commit ff48fa5

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

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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)