Re: Problem setting dependencies to custom framework
Re: Problem setting dependencies to custom framework
- Subject: Re: Problem setting dependencies to custom framework
- From: Chris Espinosa <email@hidden>
- Date: Sat, 9 Jul 2005 08:30:18 -0700
On Jul 8, 2005, at 8:21 PM, Ken Tozier wrote:
I'm attempting my first framework and after watching the instructional movie at "http://rentzsch.com/share/embeddingFrameworks.mov" i think I have all the dependencies etc set up correctly. When I build and run apps linked to my framework however, I get the error:
Library not loaded: /Users/kentozier/Library/Frameworks/CLTool.framework/Versions/A/CLTool
Referenced from: /Users/kentozier/Desktop/Tiger Dev/CLRunner/build/CLRunner.app/Contents/MacOS/CLRunner
Reason: image not found
I explicitly set the installation path to "@executable_path/../Frameworks" and it in fact winds up there after compiling so why is Xcode ignoring that and coming up with the path "/Users/kentozier/Library/Frameworks/CLTool.framework/Versions/A/CLTool"?
Also, I read the recent threads related to cross project dependencies and I don't know what info is right. Is the "rentzsch.com" movie completely out of date now in Xcode 2.x?
Anyone know of a good (recent) step by step resource to create frameworks that takes into consideration all the Xcode 2.x changes? It seems from posts here that the cross project dependencies is all over the map and I can't make heads or tails of it.
It sounds like you've set up the framework to be embedded, but not set the application to look for the framework in its embedded place. Go to
http://developer.apple.com/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html
and read the steps after the paragraph that begins "
Once your framework target is configured, you can proceed with the modifications to your application target. "
This method hasn't changed for 2.0 and 2.1.
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden