Other app blocks mine from opening my documents
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