My iOS project used a 3rd party (not open source) static library (i.e. libA.a
), and this libA.a
used CocoaLumberjack
, it compiled CocoaLumberjack
directly into itself, and the version of CocoaLumberjack
is unclear.
Now I also want to use CocoaLumberjack
to track logs in my program, and it will result duplicate symbol errors if I install CocoaLumberjack
via CocoaPods.
Questions:
Is there a way to hide the
CocoaLumberjack
symbols inlibA.a
so that Xcode won't report symbol errors?Any other
file logger
libraries that can be recommended?
Now I am looking through symbols in libA.a
, contrasting it with the source of CocoaLumberjack
, and I am closed to find the version of CocoaLumberjack
libA.a
used, my next step should be only including header files of CocoaLumberjack
in my project. It should work, but I don't like this way.