Re: Lost in Linking a Framework within the App bundle
Re: Lost in Linking a Framework within the App bundle
- Subject: Re: Lost in Linking a Framework within the App bundle
- From: Ron Ballesteros <email@hidden>
- Date: Tue, 20 Jul 2004 22:44:00 -0700
Seeing that I was so deep into my confusion. I started out fresh and
performed the steps described by mmalcolm crawford below. This time I
just used the compiled framework. After building my app, I got an error
of "warning -F: directory name(@executable_path/../Frameworks) does
not exist"
I thought that this might be because of a dependency but I couldn't see
how I could add a dependency in my projects target when I only have one
target in my project.
So I guess am still at lost?
On Jul 20, 2004, at 6:53 PM, mmalcolm crawford wrote:
On Jul 20, 2004, at 4:16 PM, Charles PARNOT wrote:
From what you say, I think you did not do what follows, so just in
case here is a potential solution:
I believe you have to recompile the framework itself with
@executable_path/../Frameworks, as explained here:
http://www.cocoadevcentral.com/articles/000042.php
(good thing you have the source code, otherwise you are stuck)
If you don't have the source code:
* Put the compiled framework in a "Frameworks" folder in the project
folder.
* Add the framework to the project.
* Add a Copy Files build phase as described at
<http://developer.apple.com/documentation/MacOSX/Conceptual/
BPFrameworks/Tasks/CreatingFrameworks.html>.
* Set the project's Framework Search Paths to
@executable_path/../Frameworks Frameworks
mmalc
_______________________________________________
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.
_______________________________________________
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.