Am using Cocoapods and trying to configure the CocoaLumberjack library to be only there for the Debug build configuration.
What I want to happen is that when I build for release, the CocoaLumberjack library is not compiled and all the log statements are ignored.
Was able to configure the CocoaLumberjack pod to not be included in 'release' using this statement in the podfile:
pod 'CocoaLumberjack', '2.0.0-rc2', :configurations => ['Debug']
However all the log statements end up becoming errors since their source cannot be found.
So was wondering whether it is possible to only have CocoaLumberjack for the debug build configuration and when building to release it is as if both the library and log statements were never there.
Advice and suggestions are welcome.