3

I have created a iOS & tvOS framework and i am using cocoapods to distribute it to all my projects. I am having difficulties when trying to do a NSLog from inside the classes of the framework.

The framework is really simple, it is composed of several classes and has two dependencies (AFNetworking & JSONModel), other then that i am not doing anything special.

Is there something i an missing or doing wrong?

YYfim
  • 1,402
  • 1
  • 9
  • 24
  • See: http://stackoverflow.com/questions/7277804/ios-iphone-ipad-ipodtouch-view-real-time-console-log-terminal – Anna Billstrom Jul 06 '16 at 23:10
  • 1
    @AnnaBillstrom the problem is not that the console is not visible, it is, but the logs that comes from the framework aren't appearing in it. if i log outside of the framework (in the project) it is logging – YYfim Jul 10 '16 at 14:49

1 Answers1

0

In my case, I just needed to Clean my build folder and rebuild to have the updated pod code run and the log statements to show up.

I got this idea from here: Editing locked files from a CocoaPods framework

jaynp
  • 3,275
  • 4
  • 30
  • 43