samedi 2 mai 2015

Rebuild Realm Database

I have a swift project with Realm installed via cocoapods. I accidentally deleted the realm database via rm path/to/realm/database in my terminal. Whenever I run the app I receive the error below:

'RLMException', reason: 'open() failed: No such file or directory'

My questions is, how do I rebuild the realm database?

Aucun commentaire:

Enregistrer un commentaire