Reputation: 541
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:
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.
Upvotes: 1
Views: 771
Reputation: 114
add this line to the module.xcconfig
OTHER_LDFLAGS=$(inherited) -framework GameKit
where GameKit is your missing framework that is used in your library. And add your library direct to your xCode project via drag-n-drop.
Upvotes: 1
Reputation: 33345
you might need to include the fill path to the library, also it should be included in the build settings of the xcode project
Upvotes: 0