Skip navigation.
 
mlRe: NSPreferencePane with my own private framework?
FROM : Adam Leonard
DATE : Thu Mar 06 05:18:07 2008

In your preference pane project, make sure @loader_path/../Frameworks 
is in the target's Framework Search Paths.

If that doesn't work, you might also try @bundle_path (set in both the 
preference pane and framework)

Adam Leonard

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

> Thanks for the reply.  I tried changing the installation directory 
> on my framework to use @loader_path and re-built it, but I'm still 
> getting the same error message when trying to open the preference 
> pane.
>
> I imagine I have to change something in the build settings for the 
> preference pane project itself (rather than just in the framework 
> project), but I'm not sure what to change.  Any tips?  Perhaps I 
> should forward this over to the Xcode users list.
>
> Thanks.
>
> -Ryan
>
> On Mar 5, 2008, at 2:14 PM, Nick Zitzmann wrote:

>> 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_removed>)
>
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/<email_removed>
>
> This email sent to <email_removed>
>

Related mailsAuthorDate
mlNSPreferencePane with my own private framework? Ryan Mar 5, 23:00
mlRe: NSPreferencePane with my own private framework? Nick Zitzmann Mar 5, 23:14
mlRe: NSPreferencePane with my own private framework? Ryan Mar 6, 00:44
mlRe: NSPreferencePane with my own private framework? Nick Zitzmann Mar 6, 01:18
mlRe: NSPreferencePane with my own private framework? Adam Leonard Mar 6, 05:18
mlRe: NSPreferencePane with my own private framework? Ryan Mar 7, 17:44