I had a devil of a time trying to get Xcode to recognise my standard Core Data UIManagedDocument
s, given they are bundles, not flat files. Turns out one of the keys was that your UTI must inherit from com.apple.package. 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.
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
I didn’t. Not that I recall, anyway – in any case I dropped the project; it was just a little side project and not worth the time & effort it was starting to take.