WATCHOS 2 - CORE DATA - IOS

Asked

Viewed 45 times

0

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

In the iphone add a record in core data (sqlite). When you left the iphone and enter the app do watch it has to go in the core data and fetch the records. By doing this is giving an error in my persistentStoreCoordinator.

Error occurs on line 89 (Try Coordinator!. addPersistentStoreWithType(Nssqlitestoretype, Configuration: nil, URL: url, options: nil)

meu persistentStoreCoordinator)

The error that gives is : Domain: Unable to read data - code: 9999

  • could edit your question, the part of "... ! [my pensistentStore ...." is confused. Welcome to SOPT :)

  • 1

    I edited there @David .. . vlw!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.