Right now I have an application that generates an XML file. We’ll call it someFile.myapp
When my app saves the file and look at it using mdls it has a kMDItemContentType of “dyn.234kdfsjk23jk24234kjfd”
How can I get the UTI type of the file to be a custom value like com.mycompany.myapp?
Right now I have an application that generates an XML file. We’ll call it
Share
UTIs are linked to extensions via a declaration in your application’s
Info.plistfile. Add a section like so: