CocoaHTTPServer
CocoaHTTPServer copied to clipboard
Undefined symbols for architecture armv7: "_LOG_OBJC_MAYBE", referenced from:
-[DAVConnection httpResponseForMethod:URI:] in DAVConnection.o -[DAVResponse initWithMethod:headers:bodyData:resourcePath:rootPath:] in DAVResponse.o -[DELETEResponse initWithFilePath:] in DELETEResponse.o -[HTTPAsyncFileResponse initWithFilePath:forConnection:] in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse abort] in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse pauseReadSource] in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse resumeReadSource] in HTTPAsyncFileResponse.o ... ___51-[HTTPAsyncFileResponse openFileAndSetupReadSource]_block_invoke in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse contentLength] in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse offset] in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse setOffset:] in HTTPAsyncFileResponse.o -[HTTPAsyncFileResponse readDataOfLength:] in HTTPAsyncFileResponse.o -[HTTPConnection realm] in HTTPConnection.o
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 It works! Thank you.