• 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
Other app blocks mine from opening my documents
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Other app blocks mine from opening my documents


  • Subject: Other app blocks mine from opening my documents
  • From: Seth Willits <email@hidden>
  • Date: Mon, 09 Jun 2014 19:36:28 -0700

My app opens SQL files so I declared a UTI for it in Exported UTIs in the app Info.plist with my own identifier, uses sql as an extension, has a text/plain mime type, and conforms to public.plain-text.

My app opens a new document window, I edit it, it autosaves, and on relaunch Cocoa yells at me:


-----
This application can't reopen autosaved com.panic.coda.structured-query-language-file files.

-[NSDocumentController reopenDocumentForURL:withContentsOfURL:display:completionHandler:] failed during state restoration. Here's the error:
Error Domain=NSCocoaErrorDomain Code=256 "The autosaved document “(null)” could not be reopened. " UserInfo=0x608000470540 {NSLocalizedDescription=The autosaved document “(null)” could not be reopened. }
-----


I'm a bit puzzled. Guidance?



--
Seth Willits




_______________________________________________

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: Other app blocks mine from opening my documents
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: Advice on document handling
  • Next by Date: Re: Advice on document handling
  • Previous by thread: Re: Advice on document handling
  • Next by thread: Re: Other app blocks mine from opening my documents
  • Index(es):
    • Date
    • Thread