• 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: Library not loaded - wrong path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Library not loaded - wrong path?


  • Subject: Re: Library not loaded - wrong path?
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 10 Sep 2008 10:10:47 -0500

On 9 Sep 2008, at 7:38 PM, Michael Williamson wrote:

So either I need to
a) change the framework install path,
b) or copy the framework to Resources instead.

For now I've done (b) just to get it working, and that fixed my problem (Thanks!)

But (a) seems preferable, since frameworks should probably live in "Frameworks"?

I couldn't see where to change the install path.
Is it determined and fixed at the time of compiling the framework?
This is a 3rd party framework, downloaded in a precompiled form. I could download the source instead and build it myself if I really have to ...

(a) is in fact the Right Thing, and the maker of the third-party framework was in error building it to install in Resources. (I haven't researched it, but the location may affect code signing.)


If it really bothers you (it would really bother me), download the source, open the Target Info window for the framework target, select the Build tab, and enter "@executable_path/../Frameworks" in the Installation Directory line.

Bonus: You'll be able to step into the framework when you're debugging. Make sure the framework and application projects share a build directory.

	— F

 --
Fritz Anderson -- Xcode 3 Unleashed: Now Available -- http://x3u.manoverboard.org/

_______________________________________________
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


References: 
 >Library not loaded - wrong path? (From: "Michael Williamson" <email@hidden>)
 >Re: Library not loaded - wrong path? (From: "Sherm Pendley" <email@hidden>)
 >Re: Library not loaded - wrong path? (From: "Michael Williamson" <email@hidden>)

  • Prev by Date: Re: breakpoints ignored while running unit tests! Why?
  • Next by Date: Re: adding object to a Xcode project
  • Previous by thread: Re: Library not loaded - wrong path?
  • Next by thread: Xcode 3.1, g++-4.2 and Debug building
  • Index(es):
    • Date
    • Thread