Has anyone figured out how to link a static library with categories to a Unity project which is compiled using SDK 3.0 yet?
In order to link a static library with categories in 3.0+ the ‘-all_load’ linker flag must be set, however this does not work with a Unity project. It fails with the following message:
ld: duplicate symbol _dlfree in libiPhone-lib.a(dmalloc.o) and libiPhone-lib.a(dlmalloc.o)
I’ve read on an Apple developer message board that this could possibly be caused by the ‘dlfree’ method not being flagged as external. I’m not sure if this would fix it or not (or even if this is the same problem) but…