Reputation: 1077
When using RestKit framework with Google Maps iOS SDK I get the message on console "I restkit:RKLog.m:33 RestKit logging initialized..." at the start of app. In case of using them separately I don't have such message. I get such message even if I don't use import RestKit headers anywhere in code. Probably, I should write cocoapod rule for Linking OTHER_LDFLAGS. My pod file:
platform :ios, '6.0'
pod 'Google-Maps-iOS-SDK', '~> 1.7'
pod 'RestKit', '~> 0.22.00'
Upvotes: 0
Views: 262
Reputation: 119031
That log method is called as part of +load
processing, so when you include RestKit it will always be shown. Any code that you run to change the log level will run after the +load
so this won't be affected. To change it you would need to edit the RestKit code.
You will see a difference between Debug and Release builds as the default settings in RestKit are different for each (Info and Warning level respectively).
Upvotes: 1