Hi!
How would I go about supporting Javascript views in an iOS application? Following the instructions on https://github.com/couchbase/couchbase-lite-ios/wiki/JavaScript-Views just leaves me with a bunch of linker errors.
I've got a working Javascript view on Cloudant. It's called "messages" and it's in a design document with an ID "_design/desdoc". I'd like to use it on iOS too.
--
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/nKJeJJ0ecOA/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/3197CCAE-F011-4BC9-B9B5-B99BEFCF6788%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_JSContext", referenced from:
objc-class-ref in AppDelegate.o
Thats when I call JSContext to start using a JavaScript.
On Feb 3, 2015, at 6:36 AM, Julián Astrada <astrad...@gmail.com> wrote:Hi Matija, can you please tell me what framework are you using? I tried compiling a JavaScriptCore framework from Ejecta project or using a compiled one but I keep getting this same errors:
--
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/nKJeJJ0ecOA/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/EC627996-CF64-4E86-AE72-416988EB8FC7%40couchbase.com.
On Feb 3, 2015, at 9:52 AM, Julián Astrada <astrad...@gmail.com> wrote:How do you link against it? What you mean? It is not available in the "Linked frameworks and libraries" list. And just adding the #import <JavaScriptCore/JavaScriptCore.h> doesn't fix it.

--
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/nKJeJJ0ecOA/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/3EB1BEBB-DE0B-436D-9252-B67FDFB717D5%40couchbase.com.