• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Problem setting dependencies to custom framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Problem setting dependencies to custom framework
      • From: Ken Tozier <email@hidden>
References: 
 >Problem setting dependencies to custom framework (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Weak linking doesn't work
  • Next by Date: Re: Weak linking doesn't work
  • Previous by thread: Problem setting dependencies to custom framework
  • Next by thread: Re: Problem setting dependencies to custom framework
  • Index(es):
    • Date
    • Thread