Hi

I followed the instructions 
at https://github.com/couchbase/couchbase-lite-ios/wiki/JavaScript-Views to 
add JS views capability but have had no success. Are there more recent 
instructions somewhere?

What I did:
- added CBLJSViewCompiler.m and CBLJSFunction.m to my project
- added the built 
JavaScriptCore.framework<https://github.com/phoboslab/Ejecta/tree/master/Source/lib/JavaScriptCore.framework>
 from https://github.com/phoboslab/Ejecta/tree/master/Source/lib (as 
mentioned here: https://github.com/phoboslab/JavaScriptCore-iOS)
- added the initialisation code [CBLView setCompiler: [[CBLJSViewCompiler 
alloc] init]];

I got linker errors apparently due to lack of ICU, so added the cocoapod 
icu4c, but that is not building. Could you please advise.

Thanks
Alex McArthur

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/7fb51b25-a80c-4a13-8ce0-e34165b84035%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to