CocoaHTTPServer icon indicating copy to clipboard operation
CocoaHTTPServer copied to clipboard

xcodebuild: CocoaHTTPServer/Extensions/WebDAV/DAVResponse.m:102:9: error: implicit declaration of function 'LOG_OBJC_MAYBE' is invalid in C99

Open BernardChina opened this issue 8 years ago • 2 comments

BernardChina avatar Dec 13 '16 03:12 BernardChina

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

cherpake avatar Jan 15 '17 09:01 cherpake

This doesn't work either if I set use_frameworks! in Podfile.

softwind0214 avatar Jun 13 '17 09:06 softwind0214