• 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
Re: Problem getting import UTI recognised
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem getting import UTI recognised


  • Subject: Re: Problem getting import UTI recognised
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 16 Oct 2014 08:25:50 -0700


On Oct 16, 2014, at 4:07 AM, Graham Cox <email@hidden> wrote:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
> <plist version="1.0">
> <array>

I’m assuming this is a snippet extracted from your actual Info.plist.

>    <dict>
>        <key>UTTypeConformsTo</key>
>        <array>
>            <string>public.content</string>
>        </array>

You’re not conforming to any physical types. You probably want to conform to public.data as well as public.content.

Also, can you provide your CFBundleDocumentTypes array? Most of those keys have been supplanted by the UTI declaration, but you still need that to connect the UTI to an NSDocument subclass.

--Kyle Sluder
_______________________________________________

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: Problem getting import UTI recognised
      • From: Graham Cox <email@hidden>
References: 
 >Problem getting import UTI recognised (From: Graham Cox <email@hidden>)
 >Re: Problem getting import UTI recognised (From: Kyle Sluder <email@hidden>)
 >Re: Problem getting import UTI recognised (From: Graham Cox <email@hidden>)
 >Re: Problem getting import UTI recognised (From: Graham Cox <email@hidden>)
 >Re: Problem getting import UTI recognised (From: Quincey Morris <email@hidden>)
 >Re: Problem getting import UTI recognised (From: Graham Cox <email@hidden>)
 >Re: Problem getting import UTI recognised (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSTableView inside NSTextView
  • Next by Date: Passing a swift function to objective-c
  • Previous by thread: Re: Problem getting import UTI recognised
  • Next by thread: Re: Problem getting import UTI recognised
  • Index(es):
    • Date
    • Thread