-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where to add private frameworks? #15
Comments
tweakname_PRIVATE_FRAMEWORKS = PRIVATEFRAMEWORKSHERE |
I mean where in the theos directory as in /opt/theos/include/NAME_OF_FRAMEWORK/files? On 29 Jan 2012, at 21:31, Luke Youngreply@reply.github.com wrote:
|
Yeah, that's fine. |
Thanks, I've added the dylib I need to use to theos/lib but do I reference it in the PRIVATE_FRAMEWORKS? On 2 Feb 2012, at 17:26, Dustin L. Howett wrote:
|
But that's a dylib, not a framework. For libraries, you add |
Ignore that last reply but when doing this i still get ld: library not found for -libname? On 29 Jan 2012, at 21:31, Luke Young wrote:
|
That's because -libname means "libibname.dylib". Like the example I |
And really, the library had better be something named better than |
Of course. Problem solved and thanks for the help. On 2 Feb 2012, at 18:37, Dustin L. Howett wrote:
|
Sure thing. :) |
Hi DHowett, I have the similar question, but I'm trying to use a framework. I followed http://brandontreb.com/beginning-jailbroken-ios-development-your-first-tweak/ to write my first tweak, and then I want to use TPAdvanced.a in my tweak. I put TPAdvanced.h in /opt/theos/include/TPAdvanced/ folder, I put libTPAdvanced.a under both /opt/theos/lib, /opt/theos/include/TPAdvanced/ folder, and also my tweak project folder (the same folder where my Tweak.xm and Makefile are in) I have tried modified the makefile with: But, still no luck. What do you mean by "in the framework itself in 'Headers/'" Thanks! |
Use -lTPAdvanced in your projects LDFLAGS |
Oh, I didn't realize I can still write the make file just like any normal make file... |
Hi, DHowett widget_INSTALL_PATH = /Library/WeeLoader/Plugins/ the code in my xxx.m #import "BBWeeAppController-Protocol.h" than make , error: error: libxml/HTMLparser.h: No such file or directory Why there was still not find libxml? Thanks. |
This is not a catch-all bug bandwagon love-in! @justzt: |
Thanks |
This is not a support forum. Please stop treating it like one. |
|
Im currently working on a project that requires a private framework, i have the framework but can't figure where to put it in my theos directory and how to add it to the makefile. Sorry for my noobishness, still a newly to theos. Can you help?
Thanks
The text was updated successfully, but these errors were encountered: