WATCHOS 2 - CORE DATA - IOS

0

I'm trying to make a communication between core data e o watch 2 .

No iphone adds a record in the core date (sqlite) . When you quit the iphone app and enter app do watch it has to go to the core date and fetch the records. Doing this is giving an error in my persistentStoreCoordinator .

Error occurs on line 89 (try coordinator! .addPersistentStoreWithType (NSSQLiteStoreType, configuration: nil, URL: url, options: nil)

  

     

The error you give is: domain: unable to read data - code: 9999

    
asked by anonymous 18.01.2016 / 14:05

0 answers