CouchDB/PhoneGap for Android and iOS
I have been able to create working PhoneGap/CouchDB project for the Android environment. Database synchronization and HTTP API works as expected.
However, whatever I do, I can not create similar working project for iOS. If I am trying to use current Couchbase project and integrate Couchbase.framework to the application as explained here http://www.couchbase.com/wiki/display/couchbase/iOS, the application crashes to [cb start] for following error
{"init terminating in do_boot",{badarg,[{erl_prim_loader,check_file_result,3},{erl_prim_loader,check_file_result,3},{init,get_boot,1},{init,get_boot,2},{init,do_boot,3}]}}
(no error logger present) error: "Error in process <0.2.0> with exit value: {badarg,[{erl_prim_loader,check_file_result,3},{erl_prim_loader,check_file_result,3},{init,get_boot,1},{init,get_boot,2},{init,do_boot,3}]}\n"
If I integrate iOS TouchDB implementation to the project, it crashes also to the start.
Is this happening because I try to use CouchDB with PhoneGap? Could anyone advice how I could use iOS CouchDB in the PhoneGap project?
I think some other people have run into similar issues. Could you check the archives of the Google group:
https://groups.google.com/forum/?fromgroups#!searchin/mobile-couchbase/phonegap
In general the group is the best place to discuss Couchbase Mobile.
--Jens