my goal is to build a static iOS library with bundled resources. I have been doing this successfully on OS X years ago, but I am running into an issue here.
I am adding my resource with a linker flag:
OTHER_LDFLAGS = -sectcreate __DATA __FOO resouces/foo.bin
The Xcode 4.6 libtool gives me the error:
libtool: -dynamic not specified the following flags are invalid: -sectcreate __DATA __FOO resouces/foo.bin
I have seen similar questions here, but always in the conjuction with the -ObjC flag. Is the -dynamic flag required for -sectcreate these days? Am I doing it wrong?
Thanks
Alex