login about faq

Hi experts,

  1. I create a new simple object-c project using xcode 7.0/OSX yosemite 10.10.5
  2. I download chilkat-9.5.0-ios9.zip from link http://www.chilkatsoft.com/downloads_ios.asp, 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 http://www.example-code.com/objc/ftp_implicitSSL.asp
  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)

asked Oct 21 '15 at 20:02

YeJ's gravatar image


On this web page: http://www.chilkatsoft.com/chilkatIos.asp

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


answered Oct 21 '15 at 20:05

chilkat's gravatar image

chilkat ♦♦

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"?



answered Oct 21 '15 at 20:17

YeJ's gravatar image


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)


answered Oct 22 '15 at 20:38

YeJ's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Oct 21 '15 at 20:02

Seen: 483 times

Last updated: Oct 22 '15 at 20:38

powered by OSQA