I'm trying to include a static library in module.xcconfig. But the documentation isn't helpful, and all the discussion I can find does not give a solution.
Where do I put the static library, and how do I include it using OTHER_LDFLAGS? I've tried:
- OTHER_LDFLAGS=$(inherited) mylib.a
- OTHER_LDFLAGS=$(inherited) -lmylib
mylib.a is in the root of the module at the same level as module.xcconfig, because someone on the Appcelerator site said to do that.
build.py runs fine for the module, but once I try to build my project, I get:
The following build commands failed: [ERROR] Ld build/Debug-iphonesimulator/ ... normal i386 [ERROR] (1 failure)
What am I doing wrong? Thanks.