ANN: Couchbase Lite 1.0.2 update available for iOS and Android

272 views
Skip to first unread message

Jessica Liu

unread,
Aug 24, 2014, 3:05:03 PM8/24/14
to mobile-c...@googlegroups.com
Hi Couchbase Mobile community, we have just pushed the 1.0.2 update for iOS and Android. This update is packed with fixes since our 1.0.1 release, including general fixes, and major improvements in the test framework on Android; optimizations for map-reduce, fixes to our SSL support, and more on iOS.

Full release notes are available here for:

You can download 1.0.2 right here: http://www.couchbase.com/download#cb-mobile

In addition, .NET developers can get our latest progress on the Beta release of our .NET support here: http://components.xamarin.com/view/couchbase-lite-net We are currently in Beta 3, and are looking to get to a feature-parity, stable release very soon, with an anticipated push to support non-Xamarin platforms in the next month.

- Jessica

Jens Alfke

unread,
Aug 24, 2014, 4:25:17 PM8/24/14
to mobile-c...@googlegroups.com
FYI, this is a much bigger update than 1.0.1 was. That one was just a few targeted fixes, but 1.0.2 is basically everything from the master branch as of a week or two ago. So if you filed an issue and it's been closed as fixed, the fix is probably in 1.0.2.

—Jens

dyowee

unread,
Aug 24, 2014, 6:16:47 PM8/24/14
to mobile-c...@googlegroups.com
Awesome! Thanks guys!

dyowee

unread,
Aug 24, 2014, 6:35:03 PM8/24/14
to mobile-c...@googlegroups.com
But still waiting for the Win 8 support :(


On Monday, August 25, 2014 4:25:17 AM UTC+8, Jens Alfke wrote:

Andrew Tetlaw

unread,
Aug 25, 2014, 5:28:35 AM8/25/14
to mobile-c...@googlegroups.com
Great stuff!


On Monday, August 25, 2014 4:25:17 AM UTC+8, Jens Alfke wrote:

Jeff Kingyens

unread,
Aug 25, 2014, 1:47:19 PM8/25/14
to mobile-c...@googlegroups.com
I tried upgrading to 1.0.2 but I was getting link errors on a couple of symbols in xcode when building. Switching back to 1.0.1 made the errors go away, so I just held back :( I believe the symbol that couldn't be resolved was CBLUITableSource. Should there be any issue here?

Jens Alfke

unread,
Aug 25, 2014, 3:11:52 PM8/25/14
to mobile-c...@googlegroups.com

On Aug 25, 2014, at 10:47 AM, Jeff Kingyens <jeff.k...@gmail.com> wrote:

I tried upgrading to 1.0.2 but I was getting link errors on a couple of symbols in xcode when building. Switching back to 1.0.1 made the errors go away, so I just held back :( I believe the symbol that couldn't be resolved was CBLUITableSource. Should there be any issue here?

Oops, that's a bug. In 1.0.2 we're being careful not to expose symbols in the static library other than the ones in the public API, so there's a list of symbols to export. I forgot to add CBLUITableSource to it.

We'll release an update of 1.0.2. In the meantime you can work around this by using NSClassFromString(@"CBLUITableSource") instead of the literal NSUITableSource.

—Jens

Jeff Kingyens

unread,
Aug 25, 2014, 3:38:03 PM8/25/14
to mobile-c...@googlegroups.com
Great thanks. Your workaround fixed the issue for now. Also, as I was trying to debug the issue I noticed there was no tag for 1.0.2 on github either. When you fix the symbols in the 1.0.2 release could you also tag the github repo with the commit the release came from? Thanks!


--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/wbpIPw7tsUg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/AF08D35D-2336-49ED-9F7E-A9155737EF78%40couchbase.com.

For more options, visit https://groups.google.com/d/optout.

Jessica Liu

unread,
Aug 25, 2014, 5:10:24 PM8/25/14
to mobile-c...@googlegroups.com
Hi Couchbase Mobile community, thank you for being an awesomely responsive group. We just got word that there was a build issue with CBLUITableSource and we have resolved, fixed, and refreshed the 1.0.2 build with this fix. You can access this updated build today.
- Jessica

Jessica Liu

unread,
Aug 25, 2014, 8:31:22 PM8/25/14
to mobile-c...@googlegroups.com
Hi Couchbase Mobile iOS community, we also have pushed an updated 1.0.2 podspec for CocoaPods users.
- Jessica

Herman Chan

unread,
Aug 26, 2014, 5:18:08 PM8/26/14
to mobile-c...@googlegroups.com
I am getting a linker error with the latest 1.0.2 release.

here is error:

Undefined symbols for architecture armv7:

  "_OBJC_CLASS_$_CBLLiveQuery", referenced from:

      objc-class-ref in class1.o

      objc-class-ref in class2.o

      objc-class-ref in class3.o

      objc-class-ref in class4.o

  "_OBJC_CLASS_$_CBLReplication", referenced from:

      objc-class-ref in class5.o

ld: symbol(s) not found for architecture armv7

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Am I missing anything?

Dominique Legault

unread,
Aug 26, 2014, 5:41:17 PM8/26/14
to mobile-c...@googlegroups.com
When your finished patching the bugs could you update the phonegap plugin with the new libraries.

Thank you.

Jens Alfke

unread,
Aug 26, 2014, 6:05:16 PM8/26/14
to mobile-c...@googlegroups.com

On Aug 26, 2014, at 2:18 PM, Herman Chan <herm...@gmail.com> wrote:

I am getting a linker error with the latest 1.0.2 release.

Ack! Looks like more class names missing from the exported-symbols list. Sorry about that. (Why this is happening: The exported-symbols file has been around for a long time, but was only used on Mac OS and only in release builds, which meant it got hardly any use. When I made the build changes to start using it on iOS, I just assumed it was accurate and didn't carefully review it to make sure it had all the classes in it.)

I've just pushed a fix to Github, and we'll roll out a build soon. Sorry again :(

As a workaround, you can use the same trick as before, replacing
[CBLXXX someClassMethod]
with
[NSClassFromString(@"CBLXXX") someClassMethod]

—Jens

Herman Chan

unread,
Aug 27, 2014, 12:59:50 PM8/27/14
to mobile-c...@googlegroups.com
Just pulled from master and it looks good on our end.  Thanks for the quick turnaround.

- Herman

Jessica Liu

unread,
Aug 27, 2014, 5:19:12 PM8/27/14
to mobile-c...@googlegroups.com
Thank you for reporting Herman. We have also encapsulated this fix and a test for this in a refresh of 1.0.2 today.
- Jessica

Paul Mietz Egli

unread,
Aug 29, 2014, 11:32:12 AM8/29/14
to mobile-c...@googlegroups.com
I've released a new version of TiTouchDB (Android and iOS) based on the 1.0.2 library here:


In addition to building with the latest Couchbase Mobile libraries, the 1.1 release contains bug fixes and updates to the Alloy sync adapter which give you more options when defining views for your Alloy models.

--paul

Len Kawell

unread,
Sep 3, 2014, 9:39:48 PM9/3/14
to mobile-c...@googlegroups.com
Does 1.0.2 change how the iOS framework is built or did I inadvertantly change something in my app build? I just tried a link of our app with the Enterprise 1.0.2 and I received 200+ new warnings like this:

warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_102-enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/CBL iOS library.build/Objects-normal/armv7/CBLChangeTracker_Tests.o unable to open object file


Do you know if there's a way for me to disable these warnings in Xcode?

On Sunday, August 24, 2014 12:05:03 PM UTC-7, Jessica Liu wrote:

Andrew Tetlaw

unread,
Sep 4, 2014, 12:45:20 AM9/4/14
to mobile-c...@googlegroups.com
I had the same problem:


You can hide the warnings by switching the Build Setting Debug Information Format from "DWARF with dSYM file" to "DWARF".

Still searching for a real answer though

Todd Freese

unread,
Sep 4, 2014, 10:14:02 AM9/4/14
to mobile-c...@googlegroups.com
Thanks for the workaround. They have been driving me nuts!

Todd

James Thimont

unread,
Sep 4, 2014, 10:26:06 AM9/4/14
to mobile-c...@googlegroups.com
Hi Jens

I get a link error when using 1.0.2:

Undefined symbols for architecture armv7:

  "_CBLHTTPErrorDomain", referenced from:



Best

James

Jessica Liu

unread,
Sep 4, 2014, 2:15:32 PM9/4/14
to mobile-c...@googlegroups.com
Thank you Andrew for posting the workaround. As mentioned in the other thread, we have identified the likely culprit although it is unclear why this caused any issue.
- Jessica

Jessica Liu

unread,
Sep 4, 2014, 2:16:23 PM9/4/14
to mobile-c...@googlegroups.com
Paul that is awesome to hear! Thank you for sharing.
- Jessica

Jens Alfke

unread,
Sep 4, 2014, 2:40:36 PM9/4/14
to mobile-c...@googlegroups.com

On Sep 4, 2014, at 7:26 AM, James Thimont <jamest...@gmail.com> wrote:

I get a link error when using 1.0.2:

Undefined symbols for architecture armv7:

  "_CBLHTTPErrorDomain", referenced from:


Sorry about that — I've just checked in a fix; as a workaround you can use the string constant @"CBLHTTP" instead.

—Jens

James Thimont

unread,
Sep 5, 2014, 6:47:52 AM9/5/14
to mobile-c...@googlegroups.com
got it - thanks

Todd Orler

unread,
Sep 17, 2014, 3:56:10 PM9/17/14
to mobile-c...@googlegroups.com
The releases section on github:

... still indicates that 1.0.1 is the latest release.  Oversight?

-Todd

Jens Alfke

unread,
Sep 17, 2014, 4:59:26 PM9/17/14
to mobile-c...@googlegroups.com
Fixed now; thanks for pointing it out!

—Jens
Reply all
Reply to author
Forward
0 new messages