I’m having issues integrating the Grocery Sync app to my iOS project. The project is a mix of C++ and Objective C. I’ve got it all compiling and running, but it seems that my document is not saving. I can’t get any log output even though I have set
The result of [doc putProperties: document error: &error] shows null for both doc.properties and error.
What would be good places to look to help debug the issue?
I was mistaken about that - NSLog does work.
Yes you’re right, CBLDocument* doc = [database createDocument]; is returning nil.
Can I check for an error there?