Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3688

File type not recognized by macOS

$
0
0

My app uses the following 2 exported file types:

   <key>UTExportedTypeDeclarations</key>
   <array>
      <dict>
         <key>UTTypeIdentifier</key>
         <string>org.the-meiers.coolterm-Settings</string>
         <key>UTTypeConformsTo</key>
         <array>
            <string>public.text</string>
           <string>public.data</string>
         </array>
         <key>UTTypeDescription</key>
         <string>CoolTerm Connection Settings</string>
         <key>UTTypeIconFile</key>
         <string>Connection.icns</string>
         <key>UTTypeTagSpecification</key>
         <dict>
            <key>public.filename-extension</key>
            <array>
            <string>stc</string>
            </array>
            <key>com.apple.ostype</key>
            <array>
               <string>TEXT</string>
            </array>
         </dict>
      </dict>
      <dict>
         <key>UTTypeIdentifier</key>
         <string>org.the-meiers.coolterm-Session</string>
         <key>UTTypeConformsTo</key>
         <array>
            <string>public.text</string>
           <string>public.data</string>
         </array>
         <key>UTTypeDescription</key>
         <string>CoolTerm Session</string>
         <key>UTTypeIconFile</key>
         <string>Session.icns</string>
         <key>UTTypeTagSpecification</key>
         <dict>
            <key>public.filename-extension</key>
            <array>
            <string>CoolTermSession</string>
            </array>
            <key>com.apple.ostype</key>
            <array>
               <string>TEXT</string>
            </array>
         </dict>
      </dict>
   </array>

The first one (org.the-meiers.coolterm-Settings) recently (not sure when because I didn’t pay attention) stopped working properly while the second one works just fine. What I mean by “not working properly” is that the Finder won’t show it’s icon, and when I use the Open dialog in my app, this file type is grayed out and can’t be selected.

I can’t figure out what the problem is. Any ideas? Any insight will be appreciated.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3688

Trending Articles