• 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: adding frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: adding frameworks


  • Subject: Re: adding frameworks
  • From: Nick Zitzmann <email@hidden>
  • Date: Mon, 17 Jan 2005 22:10:10 -0700


On Jan 17, 2005, at 9:04 PM, Pierre Chatel wrote:

when i add a framework to my project (by drag-and-dropping it to the "Groups & File panel) it is automatically added to the "Frameworks and Libraries" group in the Target. But when i try to run the application it exits with a dyld error :(...)/build/xxx.app/Contents/MacOS/xxx can't open library: @executable_path/../Frameworks/yyy.framework/Versions/2.0/yyy (No such file or directory, errno = 2)

So how to tell xcode to copy the framework to the build product ?

Add a "copy files" build phase to the target, and drag the framework from the list of files in the project into the build phase. Don't forget to set the phase's destination in its info panel.


Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request

_______________________________________________
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: adding frameworks
      • From: Pierre Chatel <email@hidden>
References: 
 >adding frameworks (From: Pierre Chatel <email@hidden>)

  • Prev by Date: Re: Configuring the xcode environment
  • Next by Date: RE: Configuring the xcode environment
  • Previous by thread: Re: adding frameworks
  • Next by thread: Re: adding frameworks
  • Index(es):
    • Date
    • Thread