ios library Other Linker Flags

-all_load forces the linker to load all object files from every archive it sees, even those without Objective-C code. -force_load is available in Xcode 3.2 and later. It allows finer grain control of archive loading. Each -force_load option 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 -ObjC as Targets  Other Linker Flags value.it will be ok.

posted on 2013-02-04 14:21  jackbutler  阅读(123)  评论(0编辑  收藏  举报

导航