File Type Error - Cocoa

So, we recently sent an application based on documents with an unsuccessful oversight: the UTI for our main document type remained empty. We had a name for it, but the identifier was empty.

Everything worked just fine, but then we went to add another file type to the mix. The new file type is just xml (corresponds to public.xml). We installed it and fell into the document. This is when we caught our control of the first type of UTI document.

Now, if we touch as much as this type of document, BOOM. An application cannot read files created by it of this type. We really want to clear this, so what's the best way to do this?

My substantive question is: How do you transfer your main document type in a document-based application?

+5
source share
1 answer

First, it is very difficult to debug this type of problem on the machine that you use to cut assemblies. The dynamic UTI system gets confused as to which application owns the files. To solve this problem, there is a command that you can run in the terminal to clear the file associations on your system.

. , : xml. , UTI, . " " : , , , . "". , "Reader".

, - . , XML .

, , .

+1
source

All Articles