CocoaHTTPServer
CocoaHTTPServer copied to clipboard
How to use this library in Swift app?
I was directly downloaded into the library project. Solve the problem arc. However, an error log is as follows.
Undefined symbols for architecture x86_64:
"_xmlFreeDoc", referenced from:
-[DAVResponse initWithMethod:headers:bodyData:resourcePath:rootPath:] in DAVResponse.o
"_xmlReadMemory", referenced from:
-[DAVResponse initWithMethod:headers:bodyData:resourcePath:rootPath:] in DAVResponse.o
"_xmlStrcmp", referenced from:
-[DAVResponse initWithMethod:headers:bodyData:resourcePath:rootPath:] in DAVResponse.o
__XMLChildWithName in DAVResponse.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
@6ag hi,are you resolve it?
I solved the issue by adding /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libxml2.2.tbd file to xcode project.