Chilkat Software Chilkat Software Chilkat Software
Chilkat Software Chilkat Software

  

  

  

  

  

 

Chilkat Cocoa Objective-C Library Compile and Linking Notes

Must Link w/ C++ Runtime Libs

The Chilkat internals are written in C++. Therefore, your Objective-C application will need to link against the C++ runtime libraries. The easiest way to do it is to include an empty source file with the file extension "cpp" in your app target.

Linking may require -lresolv and -lpthread system libraries

Depending on what functionality is used, your application may need to link with these additional system libraries: -lresolv, -lpthread.

How to Distribute a dylib with your Application

See this Chilkat Forum post: How to Distribute a dylib with your Application.

autorelease

All objects returned by Chilkat methods, including NSString, NSNumber, NSData, NSMutableData, NSDate, and "Cko" Chilkat objects are autorelease. The application does not need to release them.

Important: See this note on the Chilkat blog about Auto-Release in Background Threads.

.mm Source File Extension

Any application source file that includes a Chilkat header (.h) must be named using the .mm file extension.

Back to Chilkat Cocoa Objective-C Library Downloads


Privacy Statement. Copyright 2000-2017 Chilkat Software, Inc. All rights reserved.

(Regarding the usage of the Android logo) Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Send feedback to support@chilkatsoft.com


Software components and libraries for Linux, MAC OS X, iOS, Android™, Solaris, RHEL/CentOS, FreeBSD, MinGW
Azure, Windows 10, Windows 8, Windows Server 2012, Windows 7, Vista, XP, 2003 Server, 2008 Server, etc.