On Mar 27, 2012, at 9:13 AM, Randy Widell wrote:

> Yup, that was it.  public.data has to be the first item in the array.  I 
> tried:
> 
> * public.database (item 0) only: fail.
> * public.database (item 0), public.data (item 1): fail.
> * no conformance declarations: fail.
> * public.data (item 0), public.database (item 1): success.
> * public.data (item 0) only: success.
> 
> Thanks so much.  That was driving me crazy.

As far as I can tell, order should not matter. You might have nudged Launch 
Services in just the right way at the same time as you changed the order of 
your conformance declarations. Launch Services caches UTI info; if you don't 
bump your CFBundleVersion or otherwise force Launch Services to purge its cache 
using lsregister, it's undefined when LS will update its cache.

If you are able to reliably reproduce a dependence on the order in which you 
declare your UTI conformance, I'd suggest filing a bug. Alternatively, if you 
can point out documentation that says that the physical UTIs must come before 
functional UTIs, I'd love to hear about it. But I doubt such a statement exists.

--Kyle Sluder
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to