Re: Cannot create an NSPersistentStoreCoordinator with a nil model
Re: Cannot create an NSPersistentStoreCoordinator with a nil model
- Subject: Re: Cannot create an NSPersistentStoreCoordinator with a nil model
- From: Ryan Dignard <email@hidden>
- Date: Mon, 11 May 2015 13:10:42 -0700
It may be advantage to log whether the model file exists and if it does
exist if the permissions are correct.
On Mon, May 11, 2015 at 1:06 PM, Alex Kac <email@hidden> wrote:
> So I've only seen this on OS X crashlytics, but one of my engineers
> says he's seen some logs on iOS as well. So I'm not calling it an OS X
> only issue yet.
>
> It would be interesting to see if this happens only on updates or new
> installs though… Great idea! Thanks.
>
> On Mon, May 11, 2015 at 2:03 PM, Mike Abdullah <email@hidden>
> wrote:
> >
> >
> >> On 11 May 2015, at 21:43, Alex Kac <email@hidden> wrote:
> >>
> >> We have an app that's out in the wild, and as always there are weird
> >> issues that sometimes show up then. This seems like it should never
> >> happen or always happen.
> >>
> >> The crash is here:
> >>
> >> http://crashes.to/s/f382ed6e4ef
> >>
> >> Obviously we have a working model…its been shipped and working in
> >> hundreds of thousands of iOS and OS X devices. But for a small number
> >> of people, this is the crash they get.
> >>
> >> I'd like to either catch the error and display something to the user,
> >> so I plan to do a @try/catch there for OS X, but ideally I'd like to
> >> know if anyone has seen edge cases that might cause this?
> >
> > We occasionally see this with corrupted copies of the app that are
> missing the model and several other resource files. I _think_ it’s a bug in
> the Sparkle updater, but have basically zero proof, and have never been
> able to repro it ourselves to track down.
> >
>
>
>
> --
> Alex Kac - President and Founder
>
> Web Information Solutions, Inc.
>
> _______________________________________________
>
> 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
>
_______________________________________________
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