CocoaHTTPServer icon indicating copy to clipboard operation
CocoaHTTPServer copied to clipboard

How to use this library in Swift app?

Open 6ag opened this issue 8 years ago • 2 comments

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 avatar Sep 09 '16 02:09 6ag

@6ag hi,are you resolve it?

AgoniNemo avatar Aug 17 '17 08:08 AgoniNemo

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.

mkkroliks avatar Sep 21 '18 14:09 mkkroliks