On Oct 15, 2014, at 8:14 PM, Graham Cox <graham....@bigpond.com> wrote: > > Hi all, > > My app declares 3 UTIs for import, which are basically the same as the > document types it supports. > > It imports two of the types fine, but the other (which is actually the > default native format) it refuses to accept - I get a message to say that my > app cannot open documents of such-and-such format, and my document's > -readFromData:ofType:... isn't even called. It writes files of this type OK, > but in the Finder they have the generic icon and the 'Kind' is just > "Document" instead of the correct description. > > My native UTI is declared in the usual way, in reverse dot.com form, and this > conforms to public.content, unpackaged. The export UTIs are the same. > > I must be missing something pretty obvious, but I'm at a loss.
Is there another app on your system declaring that file extension for its own UTI? You can dump the database with lsregister(1). --Kyle Sluder _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com