multiple private framework ....
multiple private framework ....
- Subject: multiple private framework ....
- From: Lloyd Dupont <email@hidden>
- Date: Tue, 27 May 2003 14:35:07 +1000
I managed to have an embedded framework, I mean a framework privately
kept into my application folder (well, not really, as it is a tool, but
in the same directory than the tool)
now I'm adding functionality to my framework and I need to use a 3rd
party framework, for some functionality it provide.
And I'm unable to do that. (yes, I know install_name_tool & otool)
1st I try to embed the 3rd party framework into my framework, at the
top level.
and I set its 'id' to
@executable_path/MyFramework.framework/ThirdParty.framework/ThirdParty
(I don't use @executable_path/../ because it's a tool and the
frameworks are in its working directory, or so I decided)
and I compile my framework it was ok, but when I tried to a link to an
application I had a link error
objc_class_name_Foo not found
then I tried to put both framework (boring because it's require more
copy build phases) and set its id to
@executable_path/ThridParty.framework/Thirdparty
recompile both my framework and my tool, and when I tried to link the
tool I get plenty of worrying link warning such as:
ld: warning prebinding disabled because (__PAGEZERO segment (address =
0x0 size = 0x1000) of /Users/lloyd/dev/Audit/Hardware/build/Hardware
overlaps with __TEXT segment (address = 0x0 size = 0x7000) of
@executable_path/ServerBase.framework/Versions/A/ServerBase
ld: warning prebinding disabled because (__TEXT segment (address =
0x1000 size = 0xb000) of /Users/lloyd/dev/Audit/Hardware/build/Hardware
overlaps with __TEXT segment (address = 0x0 size = 0x7000) of
@executable_path/ServerBase.framework/Versions/A/ServerBase
any advice ?
(but it worked, so I'm a bit puzzled ...)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.