Fixed: remove library CocoaLumberjack in XcodeCapp. This lib added memory leaks when using it in an NSOperation. We now simply use NSLog

This commit is contained in:
Alexandre Wilhelm
2015-11-13 10:48:02 -08:00
parent bacb7018cb
commit f41504ca57
40 changed files with 4504 additions and 3618 deletions
@@ -91,7 +91,7 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
- (NSDictionary*)_launchTaskWithCommand:(NSString*)aCommand arguments:(NSArray*)arguments
{
DDLogVerbose(@"Running processing task: %@ on file: %@", aCommand, self.sourcePath);
NSLog(@"Running processing task: %@ on file: %@", aCommand, self.sourcePath);
self->task = [self->taskLauncher taskWithCommand:aCommand arguments:arguments];
@@ -184,7 +184,7 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
- (void)main
{
DDLogVerbose(@"Conversion started: %@", self.sourcePath);
NSLog(@"Conversion started: %@", self.sourcePath);
[self dispatchNotificationName:XCCConversionDidStartNotification];
@@ -211,7 +211,7 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
}
@catch (NSException *exception)
{
DDLogVerbose(@"Conversion failed: %@", exception);
NSLog(@"Conversion failed: %@", exception);
}
@finally
{
@@ -219,10 +219,11 @@ NSString * const XCCNib2CibDidEndNotification = @"XCCNib2C
self.completionBlock = ^{
[weakOperation dispatchNotificationName:XCCConversionDidEndNotification];
[weakOperation setCompletionBlock:nil];
};
}
DDLogVerbose(@"Conversion ended: %@", self.sourcePath);
NSLog(@"Conversion ended: %@", self.sourcePath);
}
@end