ANN: Please try latest CBL 1.2 iOS/Mac builds

112 views
Skip to first unread message

Jens Alfke

unread,
Jan 8, 2016, 12:43:34 PM1/8/16
to Couchbase Mobile
We’re getting close to the release of Couchbase Mobile 1.2. As always, your feedback is very useful to us and helps us catch bugs before they make it into a release. We’d appreciate it if you could try out the latest builds of the 1.2 components.


(To be honest, I don’t know the URLs of the builds of the other platforms (Android, .NET, Sync Gateway) 😬 I’ll try to get someone to post a reply with that info ASAP.)

—Jens

Jens Alfke

unread,
Jan 8, 2016, 1:03:55 PM1/8/16
to mobile-c...@googlegroups.com
Sync Gateway: http://mobile.jenkins.couchbase.com/view/Sync_Gateway_Dev/job/sync-gateway-master/

Java/Android currently has build issues; I’ll post a URL when those are fixed.
Still working on getting a .NET URL.

—Jens

Brendan Duddridge

unread,
Jan 8, 2016, 2:54:28 PM1/8/16
to Couchbase Mobile
Is SQLCipher built-in to these builds or do we still need to build from source to have encryption for SQLite databases?

Thanks,

Brendan

Jens Alfke

unread,
Jan 8, 2016, 3:34:00 PM1/8/16
to mobile-c...@googlegroups.com

On Jan 8, 2016, at 11:54 AM, Brendan Duddridge <bren...@gmail.com> wrote:

Is SQLCipher built-in to these builds or do we still need to build from source to have encryption for SQLite databases?

No, it’s not built in yet. I am not sure whether this is happening for 1.2.

—Jens

James Nocentini

unread,
Jan 11, 2016, 8:58:35 AM1/11/16
to Couchbase Mobile
Is there a database upgrade method that will take all documents from an SQLite-backed database and migrate them to a ForestDB one?

James

Jens Alfke

unread,
Jan 11, 2016, 12:16:39 PM1/11/16
to mobile-c...@googlegroups.com

On Jan 11, 2016, at 5:58 AM, James Nocentini <james.n...@gmail.com> wrote:

Is there a database upgrade method that will take all documents from an SQLite-backed database and migrate them to a ForestDB one?

Yes — look at the new CBLDatabaseOptions class.

—Jens

Brendan Duddridge

unread,
Jan 11, 2016, 6:43:45 PM1/11/16
to Couchbase Mobile
Hi Jens,

So I guess you're also not committing to master at the moment and you're just committing to the release/1.2 branch then?

I thought I had everything working with SQLCipher, but for some strange reason it's like your framework can find the libsqlcipher.dylib, but my main app cannot as I get crashes trying to call setKey (with FMDB) for the encryption key. It would be good if it was built-in to the framework and I didn't have to worry about it.

Maybe it's time to just give up on SQLCipher and switch over to ForestDB. Do you thin ForestDB is ready for production? I've been using SQLCipher because the SQLite admin tools allow me to look into the database more easily to diagnose problems.

Thanks,

Brendan

Jens Alfke

unread,
Jan 11, 2016, 8:29:42 PM1/11/16
to mobile-c...@googlegroups.com
On Jan 11, 2016, at 3:43 PM, Brendan Duddridge <bren...@gmail.com> wrote:

So I guess you're also not committing to master at the moment and you're just committing to the release/1.2 branch then?

There’s some post-1.2 stuff in the master branch, but most changes have been going into the release/1.2 branch. At this point master should be considered unstable; also we haven’t merged the latest 1.2 changes back into it yet.

I thought I had everything working with SQLCipher, but for some strange reason it's like your framework can find the libsqlcipher.dylib, but my main app cannot as I get crashes trying to call setKey (with FMDB) for the encryption key. It would be good if it was built-in to the framework and I didn't have to worry about it.

Our build engineer is working on an automated build of SQLCipher (for a dizzying variety of platforms that we support), and the plan is to include a .a file in the iOS archive.

Maybe it's time to just give up on SQLCipher and switch over to ForestDB. Do you thin ForestDB is ready for production? I've been using SQLCipher because the SQLite admin tools allow me to look into the database more easily to diagnose problems.

ForestDB is ready and supported on all 3 codebases in 1.2.
Have you tried the CBL Viewer app? It lets you look at the contents of databases.

—Jens

Brendan Duddridge

unread,
Jan 11, 2016, 10:39:24 PM1/11/16
to Couchbase Mobile
Ok, I'll give ForestDB a shot then. With that in place I can easily just use SQLCipher from cocoa pods for my migration code, which must be able to read legacy SQLCipher encrypted databases.

I have tried out the CBL Viewer in the past, but it was a bit thin on some features which made it easier to work with SQLite, such as being able to search for data.

I just switched to 1.2 and ForestDB for the storageType and it's working great so far.

Thanks,

Brendan

Brendan Duddridge

unread,
Jan 16, 2016, 5:54:21 AM1/16/16
to Couchbase Mobile
Hey Jens,

I noticed that the iOS pre-built community 1.2 builds are not built with bitcode enabled. Not sure if you realized that.

Thanks,

Brendan

Jens Alfke

unread,
Jan 19, 2016, 11:32:46 PM1/19/16
to mobile-c...@googlegroups.com

On Jan 16, 2016, at 2:54 AM, Brendan Duddridge <bren...@gmail.com> wrote:

I noticed that the iOS pre-built community 1.2 builds are not built with bitcode enabled. Not sure if you realized that.

Can’t remember if I answered this … the build machines hadn’t been upgraded to Xcode 7. That upgrade happened today, I believe.

—Jens

Brendan Duddridge

unread,
Jan 20, 2016, 3:01:24 PM1/20/16
to Couchbase Mobile
Awesome! Also, thanks for your work on building and integrating SQLCipher into Couchbase Lite. It's working perfectly!

Brendan
Reply all
Reply to author
Forward
0 new messages