Thanks Jens, that makes sense. I've been using CBL 1.1, running my app in the iPhone simulator, and I have yet to see a .cblite2 file. To me it looks like CBL 1.1 is creating .cblite files in the old format. Maybe I'm missing some part of the setup?
Just to check, I just did a clean git clone of Grocery-Sync-iOS, copied the file couchbase-lite-ios-community_1.1.0-31/CouchbaseLite.framework to Grocery-Sync-iOS/Frameworks, built and ran... and a .cblite file (along with .cblite.shm and .cblite.wal) was created in the simulator's Library/Application Support/CouchbaseLite directory. On Wednesday, July 1, 2015 at 1:24:43 PM UTC-4, Jens Alfke wrote: > > > On Jul 1, 2015, at 9:56 AM, Peter LoBue <[email protected] <javascript:>> > wrote: > > Thanks Jens! I got your current revision to build. So should it work now > for CBL 1.1, or is it not ready yet? > > > It should work for Couchbase Lite 1.1, but not for earlier versions. > > It looks like the app doesn't want to open .cblite files. When I go to > File -> Open from the menu, the files are grayed out. When I try to force > it to open the .cblite file, I get a new error: > > > CBL-1.1 databases have the extension “.cblite2”. The viewer won't open a > .cblite file because Couchbase Lite would then update the database in > place, replacing the old file, and I don’t want it to do that. > > It sounds like the databases you’re trying to open haven’t been opened > with Couchbase Lite 1.1 before. Once they are, they’ll be converted to the > new format and you can view them. > > —Jens > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/d41e2658-7379-488b-84af-5679e07822fc%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
