set Targets Other Linker Flags value:-objC,-all_load,-force_load
For 64-bit and iPhone OS applications, there is a linker bug that prevents -ObjCfrom loading objects files from static libraries that contain only categories and no classes. The workaround is to use the -all_loador -force_loadflags.
-all_loadforces the linker to load all object files from every archive it sees, even those without Objective-C code.-force_loadis available in Xcode 3.2 and later. It allows finer grain control of archive loading. Each-force_loadoption must be followed by a path to an archive, and every object file in that archive will be loaded.
for example:
you will get a runtime exception of "selector not recognized" when linking against an objective-c static library that contains categories.then you will set -ObjCas Targets Other Linker Flags value.it will be ok.