On 2011 Feb 08, at 13:21, Gordon Apple wrote:

> PersistentStoreCoordinator is non-nil.  Store returns nil.

Well, -addPersistentStoreWithType:configuration:URL:options:error: is only 
being passed trivial parameters, except for the URL.  Log that URL and make 
sure that its parent directory exists.  Try passing options:0.  There's not 
very much you can screw up in there.

> Console just gives the infamous message: "Storage:persistentStoreCoordinator 
> The operation couldn’t be completed. (Cocoa error 1560.)"

Always log the -userInfo if you'd like more details from an NSError.  There may 
be an underlying error (NSUnderlyingErrorKey).

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to