Questions tagged [cocoalumberjack]

Use this tag with questions about CocoaLumberjack, an open-source logging framework for iPhone and Mac.

124 questions
3
votes
2 answers

Missing required module 'CocoaLumberjack' in iOS 8 app / framework

I'm having a problem with integrating a cocoa pod (CocoaLumberjack in this case) into an iOS app and my own frameworks. The Podfile looks like this: source 'https://github.com/CocoaPods/Specs.git' platform :ios, "8.0" target "CommonModule" do …
Tom Kraina
  • 3,569
  • 1
  • 38
  • 58
3
votes
1 answer

syscall_thread_switch iOS 8.3 race - CocoaLumberjack bug? how to debug this?

I'm hitting a race-condition in my app, where all or all but 1 threads get stuck on syscall_thread_switch whenever I pause debugging. It reproduces much more often on the simulator, but also on the iPad Air. There is ALWAYS at least 2 threads stuck…
3
votes
0 answers

macosx 10.10 cocoalumberjack linker error

I use pod to install cocoalumberjack to my macosx project. Here is the output of the error message. Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_DDLog", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found…
sftsz
  • 346
  • 4
  • 14
3
votes
2 answers

How do you use Lumberjack logging in Swift?

I'm in the process of converting an Objective-C file which uses Lumberjack Logging into Swift. It seems to be mostly working, except for the part where I declare ddloglevel. The Objective-C way to do this: #ifdef DEBUG static const int ddLogLevel =…
Eliza Wilson
  • 1,031
  • 1
  • 13
  • 38
2
votes
1 answer

CocoaLumberjack file and console different verbosity

I'm currently using the CocoaLumberjack framework for cocoa/touch applications and it's very good. Does anyone know the simplest way to tell the file logger to use say "Verbose" log level and the console logger to use "Info" or "Warn". This would…
Mitchell Currie
  • 2,769
  • 3
  • 20
  • 26
2
votes
0 answers

How to fix module map file CocoaLumberjack.modulemap not found

Mac m1 xcode 13 above react-native (if that matters). Got Error: :0: error: module map file '[path to CocoaLumberjack]/CocoaLumberjack.modulemap' not found tried: pod cache clean --all Clean project pod install --> Build Still got the error - any…
chenop
  • 4,743
  • 4
  • 41
  • 65
2
votes
1 answer

Building Apps using xcodebuild that depend on CocoaLumberjack installed via SPM

I'm trying to automate the build of a project that depends on CocoaLumberjack that was installed using Swift Package Manager (SPM). The project builds fine in Xcode (12.5.1 and 13), but fails when building in terminal using xcodebuild. I get an…
2
votes
1 answer

How to implement Custom Log Levels in CocoaLumberJack from Swift?

I am using CocoaLumberjack for a Swift project. I would like to implement custom log levels/flags, as I would like to use 6 rather than the default 5, and would prefer different names. The documentation for doing this is not helpful. It is only a…
nhgrif
  • 61,578
  • 25
  • 134
  • 173
2
votes
0 answers

How can I access log files stored in a watchOS app's container?

I'm using CocoaLumberjack and DDFileLogger in a watchOS app for logging the background behaviour of my Apple Watch app. The log files are stored in the app container in the Library/Caches/Logs folder. Now I cannot find a way to access/download/view…
Lextar
  • 146
  • 1
  • 6
2
votes
2 answers

How Can One Download Cocoalumberjack?

I'm sold on Cocoalumberjack as an NSLog replacement. But I'm not finding any easy way to download the source. The Google Code site has all the source, but no downloads. One can clone the Mercurial repository locally, but I don't have Mercurial so…
Tony Adams
  • 691
  • 1
  • 9
  • 29
2
votes
1 answer

'DDLog.h' file not found

I am trying to enable the logging inside CocoaAsyncSocket by doing the following inside GCDAsyncSocket.m: #ifndef GCDAsyncSocketLoggingEnabled #define GCDAsyncSocketLoggingEnabled 1 #endif However, when I build the project I receive the following…
MohamMad Salah
  • 971
  • 2
  • 14
  • 31
2
votes
1 answer

Importing CocoaLumberjack with Carthage

I am trying to import CocoaLumberjack into my project, but I always get something like 'CocoaLumberjack.h' file not found. It is an Xcode 8 project with Objective-C and Carthage (instead of Pods). On the git page it says use version 3.2.0 for…
ecth
  • 1,215
  • 1
  • 16
  • 33
2
votes
1 answer

Cocoapod - Build Error for Custom configuration in mixed Objective-C and Swift project

I am facing build error, while compiling Main project for custom build configuration in the below project setup.But i don't get build errors for Debug config. MainProject ( Mixed Objective-C and Swift) |_ SubProject1 ( Only…
Anand
  • 1,820
  • 2
  • 18
  • 25
2
votes
0 answers

file not found in bridging file

I have a workspace with multiple targets and mixed development with SWIFT and Objective-C. After installing CocoaLumberjack with CocoaPods: pod 'CocoaLumberjack/Swift' I can use it my project without any problems. All my targets get compiled except…
2
votes
1 answer

iOS: dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack

I'm trying to implement CocoaLumberjack as framework and it works fine on the simulator but when try to use it on my iPhone I'm getting this error: dyld: Library not loaded: @rpath/CocoaLumberjack.framework/CocoaLumberjack Referenced from:…
user2924482
  • 8,380
  • 23
  • 89
  • 173
1 2
3
8 9