NSPreferencePane with my own private framework?
NSPreferencePane with my own private framework?
- Subject: NSPreferencePane with my own private framework?
- From: Ryan <email@hidden>
- Date: Wed, 5 Mar 2008 14:00:16 -0800
Hi all,
I'm building an NSPreferencePane (for System Preferences) and am
trying to use one of my pre-existing private frameworks in it.
Everything works fine *until* I attempt to add my framework to the
project, and then I get the following console error when trying to
open the preference pane:
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? I'm stumped. I checked
the .prefPane bundle, and my framework is copied into the correct
directory...
Thanks!
-Ryan
_______________________________________________
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