Skip to content

Commit

Permalink
Merge pull request #60 from chrisvire/master
Browse files Browse the repository at this point in the history
Enable resigning of apps with Swift dylibs included
  • Loading branch information
maciekish committed Aug 5, 2015
2 parents ed0bc5e + 4540728 commit 8e3300a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iReSign/iReSign/iReSignAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ - (void)doCodeSigning {
hasFrameworks = YES;
NSArray *frameworksContents = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:frameworksDirPath error:nil];
for (NSString *frameworkFile in frameworksContents) {
if ([[[frameworkFile pathExtension] lowercaseString] isEqualTo:@"framework"]) {
NSString *extension = [[frameworkFile pathExtension] lowercaseString];
if ([extension isEqualTo:@"framework"] || [extension isEqualTo:@"dylib"]) {
frameworkPath = [frameworksDirPath stringByAppendingPathComponent:frameworkFile];
NSLog(@"Found %@",frameworkPath);
[frameworks addObject:frameworkPath];
Expand Down

0 comments on commit 8e3300a

Please sign in to comment.