All UTIs for packages must inherit from

I had a devil of a time trying to get Xcode to recognise my standard Core Data UIManagedDocuments, given they are bundles, not flat files.  Turns out one of the keys was that your UTI must inherit from  I had rather more sensibly (IMHO) inherited from one of the built-in database UTIs.  Silly me for thinking UTIs should describe the content meaningfully.

Kudos to “cwalcott” of Draconis Software for the iOS Dev Notes blog which finally clued me in to this arbitrary, undocumented requirement.

2 thoughts on “All UTIs for packages must inherit from”

  1. Hi, did you get a working UIManagedDocument project going? Where NSMetadataQuery actually recognized your document as a file package? I’m pulling my hair out here. Please email me! Thanks! Lee


Leave a Comment