Archived Forum Post

Index of archived forum posts

Question:

IOS Link Error: missing required architecture i386

Jun 12 '14 at 11:03

ld: warning: ignoring file /workspace/abc/libchilkatIos.a, missing required architecture i386 in file
Undefined symbols for architecture i386:
"OBJC_CLASS$_CkoMailMan", referenced from:
...


Answer

This happens if you are trying to link your simulator build against the device static lib.

Chilkat provides two separate static libs for IOS apps. One targets the actual IPhone/IPad device and the other is for 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.

When building for the simulator, make sure to use the simulator lib. When building for the device, make sure to use the device lib.

It is easy to create a single universal lib using libtool. For information about this, see http://www.chilkatsoft.com/chilkatIos.asp


Answer

Hi,

We have created single universal lib using libtool. But still we are getting following linking error alt text


Answer

http://www.lmgtfy.com/?q=chilkat+ios+res_9_query