This was an interesting problem, well to me anyway.

I copied CFBundleDocumentTypes and UTExportedTypeDeclarations from an OSX 
project to an iOS project.

The OSX app is recognized as the app to open files of types specified in these 
keys so I assumed the key values were constructed properly.

Well, the UTExportedTypeDeclarations was malformed and it is the key that iOS 
apparently looks to for registering documents.

Which leads me to believe that OSX does not use this key but uses 
CFBundleDocumentTypes OR OSX overlooks minimal malformations and interprets 
UTExportedTypeDeclarations regardless.

So, which is it … if anyone can answer.

BTW the UTExportedTypeDeclarations malformation was that the array of 
dictionaries was in an array.  Removing the outer array tags made it all good.

-koko

On Feb 14, 2013, at 12:33 PM, David E Blanton <aired...@tularosa.net> wrote:

> 
> On Feb 14, 2013, at 12:12 PM, Damian Carrillo <damiancarri...@me.com> wrote:
> 
>> You may be missing UTExportedTypeDeclarations.
> 
> I have both CFBundleDocumentTypes and UTExportedTypeDeclarations in my 
> info.plist.
> 
> UTExportedTypeDeclarations has a UTTypeConformsTo key for each item in the 
> LSItemContentTypes array.
> 
> 
> -koko

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to