Categories in static library for iPhone device 3.0
Posted
by Nick
on Stack Overflow
See other posts from Stack Overflow
or by Nick
Published on 2009-07-18T14:28:29Z
Indexed on
2010/06/17
20:53 UTC
Read the original article
Hit count: 527
I have categories in my static library. Any application developer should set -ObjC flag to "Other Linker Flags" to use my static library properly. It works fine for iPhone device/iPhone Simulator 2.x and iPhone Simulator 3.0. But it crashes for iPhone device 3.0. As written in this article it is new linker bug. They suggest to use one more linker flag: -all_load. But when I add this flag, build fails too, because there are duplicate symbols.
How to use categories in static libraries for iPhone device 3.0? Any suggestions?
© Stack Overflow or respective owner