• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Imported UTI taking precedence over Exported UTI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Imported UTI taking precedence over Exported UTI


  • Subject: Imported UTI taking precedence over Exported UTI
  • From: Matthew LeRoy <email@hidden>
  • Date: Fri, 01 Jul 2016 16:18:43 +0000
  • Thread-topic: Imported UTI taking precedence over Exported UTI

Hi,

I’m having an issue where it appears that an Imported UTI for a certain file extension declared by one application is taking precedence over an Exported UTI for the same file extension declared by a second application. Everything I’ve read in the docs and elsewhere states that Exported UTIs take precedence over Imported UTIs, so I’m not sure what’s going on.

I’ve run `mdls [filename]` on an example file, and the kMDItemContentType and associated attributes that come back match those declared by the Imported UTI, not the Exported UTI. This causes problems because the two applications declare different UTI strings (kMDItemContentType) for the same file extension. Thus, when the application with the Exported UTI displays its Open File dialog, the files of the type in question are grayed out/unselectable because the dialog has been told (via [NSDocumentController runModalOpenPanel:forTypes:]) to choose files with the UTI string declared by the Exporting application, but Launch Services is assigning the other UTI string (from the Importing application) to those files.

Can anyone shed some light on what might be happening, or steps to troubleshoot/rectify the issue?

Thanks!
Matt
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Imported UTI taking precedence over Exported UTI
      • From: Alan Snyder <email@hidden>
    • Re: Imported UTI taking precedence over Exported UTI
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Apple Developer Reference Library Safari Plugin
  • Next by Date: Re: Imported UTI taking precedence over Exported UTI
  • Previous by thread: Apple Developer Reference Library Safari Plugin
  • Next by thread: Re: Imported UTI taking precedence over Exported UTI
  • Index(es):
    • Date
    • Thread