I am trying to enable the logging inside CocoaAsyncSocket
by doing the following inside GCDAsyncSocket.m
:
#ifndef GCDAsyncSocketLoggingEnabled
#define GCDAsyncSocketLoggingEnabled 1
#endif
However, when I build the project I receive the following error:
What I am missing here?
Note: I am importing both CocoaAsyncSocket
and CocoaLumberjack
inside my Swift project using Cocoapods as following:
def shared
pod 'CocoaAsyncSocket'
pod 'CocoaLumberjack/Swift'
end
target 'Project' do
shared
target 'MyFrameworkTests' do
inherit! :search_paths
shared
end
end
target 'MyFramework' do
shared
end
target 'MyFrameworkTests' do
shared
end