Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component

  

  

  

  

  

 

Chilkat IOS / IPhone Library Install 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.

Simulator vs. Device Static Lib

There are separate static libs for targeting an actual IPhone/IPad device vs. the simulator. Both libs are named "libchilkatIos.a". After unzipping, the simulator version will be located in the "libSimulator" directory, and the device version will be located in the "libDevice" directory.

Creating a Universal Chilkat Lib

A universal Chilkat lib can be created by running the following command from a shell prompt:

libtool -static -o libchilkatIos.a libDevice/libchilkatIos.a libSimulator/libchilkatIos.a

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.

IOS 5 and ARC (Automatic Reference Couunting)

The Chilkat library for IOS 4.3 is also fully compatible with IOS 5. It will also work with ARC enabled.

About the Size of the .a Library...

Any linker that links static libs (C, C++, Objective-C) only compiles into your executable the library code directly or indirectly referenced. Your application's binary would be the identical size regardless of how the libraries were arranged -- as one big library, or as multiple smaller libraries.

Screenshots of Sample Project Settings

XCode 4.0 Project Settings for IOS Simulator Target

XCode 4.0 Project Settings for IOS Device Target

 

 

Back to Chilkat for IPhone / IOS Library Downloads


Privacy Statement. Copyright 2000-2012 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 (IPhone), Android™, QNX, Solaris, HP-UX, RHEL/CentOS
Microsoft Windows 7, Vista, XP, 2000, 2003 Server, 2008 Server, and Windows 95/98/NT4.