• 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: Unrecognized document type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unrecognized document type


  • Subject: Re: Unrecognized document type
  • From: Kyle Sluder <email@hidden>
  • Date: Tue, 17 May 2011 12:29:44 -0700

On Tue, May 17, 2011 at 12:24 PM, McLaughlin, Michael P.
<email@hidden> wrote:
> With Xcode 3.2.6, I am getting the (well-discussed) error
>
> The OutType type doesn't map to any NSDocumentClass.
>
> after
>
> theOutDoc = [[NSDocumentController sharedDocumentController]
>    makeUntitledDocumentOfType:@"OutType" error:outError];

You should be using the document type's UTI here. The old-style
NSDocument type names are deprecated.

>
> I cannot see where I went wrong.  My AppDelegate plist shows the four types
> of documents that the app is supposed to recognize, all with correct names.

You mean your Info.plist. Post that here so we can make sure you've
filled out all the appropriate keys.

--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

References: 
 >Unrecognized document type (From: "McLaughlin, Michael P." <email@hidden>)

  • Prev by Date: Unrecognized document type
  • Next by Date: Re: Core Animation animations stop prematurely at random
  • Previous by thread: Unrecognized document type
  • Next by thread: Memory growing and growing when using UIImageView's image
  • Index(es):
    • Date
    • Thread