CocoaHTTPServer
CocoaHTTPServer copied to clipboard
Invalid in C99
Hi ,I am getting this error.
DAVConnection.m:123:9: Implicit declaration of function 'LOG_OBJC_MAYBE' is invalid in C99
Hi, I have same error. But when I replace HTTPLogging.h
#import "DDLog.h"
with
#import <CocoaLumberjack/DDLog.h>
It works for me.
env: Swift3.0 Xcode8.1
Hi ,I am getting this error. Implicit declaration of function 'LOG_OBJC_MAYBE' is invalid in C99
added this to my Podfile
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'DD_LEGACY_MACROS=1'] end end end
or you can just define it on your project: DD_LEGACY_MACROS=1
Set the dependency of 'CocoaLumberjack' to '~> 1.0'.