To help simplify debugging of some custom Objective-C objects in the Xcode debugger window, I've created a set of data formatter strings for each of the objects, using the related Apple documentation and Xcode's built-in data formatters (in /Developer/Library/Xcode/CustomDataViews/) as a guide.
My custom summary strings work great as a bare property list (.plist) file if I put it in the same directory as the built-in data formatters. However, I'd rather not do that since some users may not have write privileges to that directory, and it's bad practice to mix custom formatters with the built-in ones. Similarly, saving the entries to ~/Library/Application Support/Apple/Developer Tools/CustomDataViews/CustomDataViews.plist also works, but that file is for user-defined values that override the defaults, and its entries are clobbered by changes in the Xcode debugger GUI. It seems that I really want is to provide my data formatters as a bundle (with the plist inside) such that it can be placed in a number of locations, and users can still selectively override my settings if desired.
The problem is that when I create a bundle (following the example of this Apple sample code for the most part) and install it (either in /Developer/Library/Xcode/CustomDataViews/ or any Library/Application Support/Apple/Developer Tools/CustomDataViews/ path), Xcode doesn't use the custom formatters at all. The documentation on the specifics of data formatter bundles is somewhat scanty (mostly a single header file in Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin), possibly because the functionality may not be one of the headline features of Xcode. ;-)
I'm looking for tips on how to get the Xcode data formatter bundle to work properly. Feel free to examine the related changeset which adds the bundle functionality to my project. You can download my Xcode project (or check out this SVN path) and build the "Xcode Formatter" target if it helps. Thanks in advance for any insight!