Skip to content

Commit 553c1b9

Browse files
committed
Reverted changes from maciekish#90 (Resign all frameworks). They caused problems.
1 parent 6372f8a commit 553c1b9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

iReSign.app/Contents/MacOS/iReSign

0 Bytes
Binary file not shown.

iReSign/iReSign/iReSignAppDelegate.m

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -636,10 +636,8 @@ - (void)doCodeSigning {
636636

637637
if (appPath) {
638638
if (hasFrameworks) {
639-
for (NSString *framework in frameworks) {
640-
[self signFile:framework];
641-
}
642-
[frameworks removeAllObjects];
639+
[self signFile:[frameworks lastObject]];
640+
[frameworks removeLastObject];
643641
} else {
644642
[self signFile:appPath];
645643
}
@@ -722,10 +720,8 @@ - (void)checkCodesigning:(NSTimer *)timer {
722720
[timer invalidate];
723721
codesignTask = nil;
724722
if (frameworks.count > 0) {
725-
for (NSString *framework in frameworks) {
726-
[self signFile:framework];
727-
}
728-
[frameworks removeAllObjects];
723+
[self signFile:[frameworks lastObject]];
724+
[frameworks removeLastObject];
729725
} else if (hasFrameworks) {
730726
hasFrameworks = NO;
731727
[self signFile:appPath];

0 commit comments

Comments
 (0)