Archived Forum Post

Index of archived forum posts


xcode compile issue about FTPS / Implicit SSL

Oct 22 '15 at 20:38

Hi experts,

  1. I create a new simple object-c project using xcode 7.0/OSX yosemite 10.10.5
  2. I download from link, and unzip.
  3. I copy the entire inlcude folder and libchilkatIos.a from arm64 folder to my project folder.
  4. I add the entire include folder to my project, and .a file to my project under "build phases"->"link binary with libraries"
  5. copy/paste the code from
  6. compile project, and I got 12 error messages,please give me help. Thanks.

"vtable for cxxabiv1::vmi_class_type_info", referenced from:

"vtable for cxxabiv1::class_type_info", referenced from:

"___cxa_end_catch", referenced from:

"vtable for cxxabiv1::si_class_type_info", referenced from:

"___cxa_begin_catch", referenced from:

"operator new", referenced from:

"operator new(unsigned long)", referenced from:

"std::terminate()", referenced from:

"___gxx_personality_v0", referenced from:

"operator delete", referenced from:

"operator delete(void*)", referenced from:

clang: error: linker command failed with exit code 1 (use -v to see invocation)


On this web page:

See the note about "Must Link w/ C++ Runtime Libs"


Thanks for your fast response.

"The easiest way to do it is to include an empty source file with the file extension "cpp" in your app target." what's the filename of the .cpp? what do you mean "include file in app target"?



I add a empty libchilkatIos.cpp file to my project, but I don't know how to add -lresolv and -lpthread system libraries to my project. please see the following the error messages after I compile again

undefined symbols for architecture arm64: "OBJC_CLASS$_CkoFtp2", referenced from: objc-class-ref in ViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)