Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 269523
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T23:51:08+00:00 2026-05-11T23:51:08+00:00

To help simplify debugging of some custom Objective-C objects in the Xcode debugger window,

  • 0

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 as a guide.

My custom summary strings work great if I put it in /Developer/Library/Xcode/CustomDataViews/ with the data formatters that ship with Xcode. However, I’d rather not do that since a user may not have write privileges to that directory, and mixing custom formatters with the built-in ones can be confusing. Similarly, adding my own 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. What I really want is to be able to place a file with my data formatters in a location so Xcode recognizes them, but users can still selectively override my settings (in another file) if desired.

The problem is that when I create a bundle (following the example of this Apple sample code) and install it (either in /Developer/Library/Xcode/CustomDataViews/ or any Library/Application Support/Apple/Developer Tools/CustomDataViews/ path), Xcode doesn’t recognize or use the custom formatters.

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 isn’t one of the headline features of Xcode. 😉 Any help would be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T23:51:08+00:00Added an answer on May 11, 2026 at 11:51 pm

    I’ve recently been able to come back to this, and I believe I’ve found the answer.

    I already knew that a data formatter bundle must include the property list file internally, named “Contents/Resources/*.plist“. However, for the bundle to actually work, it must also include an executable with the same name as the bundle in the Contents/MacOS/ directory. As far as I can tell, even a completely empty foo.c file is sufficient as long as you compile and link a binary. I didn’t even have to touch the Info.plist for a stock CFPlugin Bundle project in Xcode, just include the CustomDataViews.plist in the target resources.

    Since I don’t need to define C functions to display any of the objects and structs I’m dealing with, the far easier approach is to just put the plist file (any name will do — mine is CHDataStructures.plist) into one of two locations:

    • ~/Library/Application Support/Developer/Shared/Xcode/CustomDataViews/
    • /Library/Application Support/Developer/Shared/Xcode/CustomDataViews/

    Simple plist files are smaller, trivial to create, and easier to modify. Also, unlike when using bundles, I didn’t have to relaunch Xcode when I added, removed, or modified the plist; just starting a new debugging session was sufficient to cause new the data formatters to be updated. I think I was only creating a bundle because that’s what the sample code showed, but I can’t determine any advantages for my scenario, so I’m sticking with the plist.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 147k
  • Answers 147k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes, though you'll want to update the latest bugfix release… May 12, 2026 at 9:07 am
  • Editorial Team
    Editorial Team added an answer No problems at all. I've been running an MVC app… May 12, 2026 at 9:07 am
  • Editorial Team
    Editorial Team added an answer If you want to turn it off, it's under Preferences… May 12, 2026 at 9:07 am

Related Questions

I would like emacs to mark files that are generated as read-only when they're
Are there any free tools to help simplify working with an NHibernate project in
I'm fairly new to using relational databases, so I prefer using a good ORM
I would like to set up a return value _stubRepository.Stub(Contains(null)).IgnoreArguments().Return(true); but then in a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.