Re: Interdependent frameworks
Re: Interdependent frameworks
- Subject: Re: Interdependent frameworks
- From: Konstantin Anoshkin <email@hidden>
- Date: Mon, 22 Mar 2004 09:46:08 +0300
On 20 Mar, 2004, at 15:56, Manuel Sanchez Ortiz wrote:
You are missing things:
-on build time add the framework to the plugin project. The linker
will use the framework name and its path: on its located not its
install path
-on run time, first it is checked the install path and then, if this
fails, the DLYD_FRAMEWORK_PATH
My app builds frameworks, plugins and the app.
Yes, I did add Framework 1 to the plugin project. I somehow missed that
I should add Framework 2 too. Now that I've done this, the linker no
longer complains.
Thanks.
Konstantin.
----- Mensaje original -----
De: "Konstantin Anoshkin" <email@hidden>
Env.: 18/03/04 18:31:33
Para: "email@hidden" <email@hidden>
Asunto: Interdependent frameworks
Dear all,
I know the subject has been beaten to death on the list, but I
still
don't get it.
Suppose I have Framework 1 referencing symbols from Framework 2
and I
want to embed both frameworks in my app. I set installation path
for
both frameworks to @executable_path/../Frameworks, set up the
target
dependency and they both build fine. Then I have a plug-in for my
app
linked against Framework 1. Its build fails if the app has not been
built first just because there is no executable yet and
@executable_path is undefined. The little problem is that the
desired
build order would be:
Framework 2,
Framework 1,
Plug-ins,
Application (with copy build phases to copy both frameworks and
plug-ins into its bundle).
Can I do something about it? Any special linker flags or am I just
dumb?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.