• 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: Framework project config & accessing resources in the framework bundle.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Framework project config & accessing resources in the framework bundle.


  • Subject: Re: Framework project config & accessing resources in the framework bundle.
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 11 Mar 2007 18:28:59 -0400

On Mar 11, 2007, at 10:45 AM, Nelson Santos wrote:

Thanks for the response. Am I literally supposed to put "@executable_path/../frameworks" into the installation path build setting?

That's the installation path *for the framework*, not for the app, and Frameworks should be capitalized.


When you link a framework into your app, the framework's installation path is copied into the app. When the app is loaded, the loader reads it and expands @executable_path into the path of the app binary:

	/Some/Directory/Whatever.app/Contents/MacOS/Whatever.

Since the binary is in MacOS/, the install path above will look for the framework in Contents/Frameworks/ inside of the .app bundle.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Framework project config & accessing resources in the framework bundle.
      • From: Nelson Santos <email@hidden>
References: 
 >Framework project config & accessing resources in the framework bundle. (From: Nelson Santos <email@hidden>)
 >Re: Framework project config & accessing resources in the framework bundle. (From: Chris Hanson <email@hidden>)
 >Re: Framework project config & accessing resources in the framework bundle. (From: Nelson Santos <email@hidden>)

  • Prev by Date: Re: auto focus after adding row to table
  • Next by Date: Re: Bindings/NSUserDefaultsController issue
  • Previous by thread: Re: Framework project config & accessing resources in the framework bundle.
  • Next by thread: Re: Framework project config & accessing resources in the framework bundle.
  • Index(es):
    • Date
    • Thread