5

I am using several CocoaPods in my project. Some of them are outputting strings to the console via NSLog().

How can I disable all logging from CocoaPods?

Also, is there a way to do so while still keeping all of my NSLogs enabled?

Note: it seems like this feature may resolve the issue, but are there alternatives I can use meanwhile?

Update: looks like this feature was requested.

Senseful
  • 86,719
  • 67
  • 308
  • 465
  • That won't be possible without hacking the code, however it should only mean editing a single header file per pod and defining `NSLog` to do nothing with a `#define`. – trojanfoe Jul 26 '14 at 06:58
  • did u find any solution? @trojanfoe what do u mean by single header file? where is that? and what about when we update a pod? we need to redefine it. – iosMentalist Dec 11 '17 at 07:50

0 Answers0