CoreData error

Susan Cudmore susan.cudmore at gmail.com
Wed Jun 18 08:17:49 EDT 2014


Hi All,

I’m getting desperate here, and wondering if you all can suggest some other places for me to look or things to try. I’ve been Googling for the errors listed below, but without any luck. I am able to save records to Entity1 where the relationship field is nil. But when I try to save any number of Entity2 objects connected by the relationship, I get the save error listed below. 

 I think my paths are correct when it comes to setting up the persistent store and the moc.

Thanks for any thoughts you might have!

/Sue



My core data entities look like (with better names of course): 

Entity1   

value1
value1
relationshipToEntity2  (one to many, optional)


Entity2

value1	
value2
relationshipToEntity1 (one to one)



>  Error saving event: Error Domain=NSCocoaErrorDomain Code=134030 "The operation couldn’t be completed. (Cocoa error 134030.)" UserInfo=0xc96b990 {NSAffectedStoresErrorKey=(
>     "<NSSQLCore: 0x2a5fd90> (URL:file:///Users/scudmore/Library/Application%20Support/iPhone%20Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite)"
> ), NSUnderlyingError=0xc9661c0 "The operation couldn’t be completed. (Cocoa error 4.)", NSFilePath=/Users/scudmore/Library/Application Support/iPhone Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite} 
> {
>     NSAffectedStoresErrorKey =     (
>         "<NSSQLCore: 0x2a5fd90> (URL:file:///Users/scudmore/Library/Application%20Support/iPhone%20Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite)"
>     );
>     NSFilePath = "/Users/scudmore/Library/Application Support/iPhone Simulator/7.1/Library/Documentation/qfactor/QFDataPlatform.sqlite";
>     NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=4 \"The operation couldn\U2019t be completed. (Cocoa error 4.)\" UserInfo=0xc9682b0 {NSUnderlyingError=0xc968290 \"The operation couldn\U2019t be completed. No such file or directory\"}";
> }
> 2014-06-18 08:00:03.605 xctest[89344:303] Error reporting event session.start

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mactechgroup.org/pipermail/mactechgroup-discuss/attachments/20140618/52ec16e8/attachment.html>


More information about the MacTechGroup-discuss mailing list