• 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: NSPreferencePane with my own private framework?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPreferencePane with my own private framework?


  • Subject: Re: NSPreferencePane with my own private framework?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 5 Mar 2008 15:14:38 -0700


On Mar 5, 2008, at 3:00 PM, Ryan wrote:

3/5/08 1:53:14 PM System Preferences[11649] Error loading /Users/ ryan/Library/PreferencePanes/Myprefpane.prefPane/Contents/MacOS/ Myprefpane: dlopen(/Users/ryan/Library/PreferencePanes/ Myprefpane.prefPane/Contents/MacOS/Myprefpane, 265): Library not loaded: @executable_path/../Frameworks/MyFramework.framework/ Versions/A/MyFramework
Referenced from: /Users/ryan/Library/PreferencePanes/ Myprefpane.prefPane/Contents/MacOS/Myprefpane
Reason: image not found


What in the heck? I'm sure my framework works okay as I'm using it in another project... Any ideas on this one?


That won't work because @executable_path points to the path of System Preferences, not your preference pane. Try using @loader_path instead, or make a static version of your framework if possible.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: NSPreferencePane with my own private framework?
      • From: Ryan <email@hidden>
References: 
 >NSPreferencePane with my own private framework? (From: Ryan <email@hidden>)

  • Prev by Date: Re: Core Data, SQLite, and Housekeeping
  • Next by Date: Re: KVO autonotifying complaining about custom setter return value
  • Previous by thread: NSPreferencePane with my own private framework?
  • Next by thread: Re: NSPreferencePane with my own private framework?
  • Index(es):
    • Date
    • Thread