Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode Debugging Preference Panes



Robert: an alternative that works for many types of "plugin-type" targets, but which I haven't confirmed for Preference Panes, is to simply install a symbolic link in the desired directory that points back to your build results directory. For instance, if I was doing this on my machine, it would look something like this:

cd ~/Library/PreferencePanes/
ln -s ~/BUILDRESULTS/Debug/MyFunPrefs.prefpane

This hack makes it much easier to do the quick-fix/test cycle, in my opinion.  I have used it for Internet Plug-Ins and Audio Units.

Daniel

On Mar 30, 2006, at 2:22 PM, Chris Espinosa wrote:


On Mar 30, 2006, at 11:10 AM, Robert Crawford wrote:

I am working on a System Preference pane I need to be able to debug it, I am able to set the custom executable to System Preferences but I can't seem to get my XCode Project to build the preference pane into my user/Libraries/PreferencePanes/ so I can debug it. Does anyone know what settings I need to change in the project so that it builds to this directory for debugging.


The three pertinent ideas are:

a) Set the Installation Location build setting to $(USER)/Library/PreferencePanes
b) Set Deployment Location to YES.
c) Set Installation Build Products Location to /

Installation is more typically done from the command line:

% xcodebuild install DSTROOT=/

which does b and c for you.

Chris
 _______________________________________________
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

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden

References: 
 >XCode Debugging Preference Panes (From: Robert Crawford <email@hidden>)
 >Re: XCode Debugging Preference Panes (From: Chris Espinosa <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.