diff --git a/SCStringsUtility/SCStringsController.m b/SCStringsUtility/SCStringsController.m index 56ac6c1..babffb8 100644 --- a/SCStringsUtility/SCStringsController.m +++ b/SCStringsUtility/SCStringsController.m @@ -246,7 +246,7 @@ -(void)executeGenStringsAtPath:(NSString*)path withRoutine:(NSString*)routine po NSString *tempFilePath = NSTemporaryDirectory(); - NSString *argument = [NSString stringWithFormat:@"find ./ -name *.m -print0| xargs -0 genstrings -o %@", tempFilePath]; + NSString *argument = [NSString stringWithFormat:@"find ./ -name *.m -print0 -o -name *.swift -print0 | xargs -0 genstrings -o %@", tempFilePath]; if([routine length]) argument = [argument stringByAppendingString:[NSString stringWithFormat:@" -s %@", routine]]; if(!positionalParameters) argument = [argument stringByAppendingString:@" -noPositionalParameters"];