On Friday, 12 December 2014 05:10:10 UTC+5:30, Jens Alfke wrote: > > > Our engineer Pasin just verified that he can use the directions on our >>> website >>> <http://developer.couchbase.com/mobile/get-started/get-started-mobile/phonegap/index.html> >>> to >>> successfully build and run an iOS PhoneGap/Cordova app. Is what you're >>> doing similar? Maybe you're getting the plugin from a different source? >>> >> > --Jens >
I went to the link of the documentation for phonegap and followed the steps mentioned there. It *fails* for me. Here are the steps i followed -Add a new cordova project cordova create hello com.cblite.hello HelloWorld -add ios platform cordova platform add ios -add cblite plugin cordova plugin add https: //github.com/couchbaselabs/Couchbase-Lite-PhoneGap-Plugin.git -open xcode and archive and it again ignores JavascriptCore.a file and gives me 22 errors. *One thing i would like to mention that if one goes by the steps that are written in your documentation, the Couchbase lite phonegap plugin version you get is in your cordova application is 1.0.2 and not 1.0.3 which you get when you fetch from cordova's plugin registry..why so ?* Then what i did to get it running was i removed the standard architecture in build settings as you described and just put *armv7 *there instead*. *It worked and i was able to archive my app but i have over 161 warnings of which i am posting some below...i wanted to know that are all these warnings avoidable and safe to go ahead ? warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/HTTPDataResponse.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/HTTPFileResponse.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/HTTPAuthenticationRequest.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/HTTPConnection.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/HTTPMessage.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/HTTPServer.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/DDLog.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/DDNumber.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/DDRange.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/CBLListener.o unable to open object file warning: (armv7) /Users/jenkins/jenkins/workspace/build_cblite_ios_103- enterprise/couchbase-lite-ios/build/CouchbaseLite.build/Release-iphoneos/ Listener iOS Library.build/Objects-normal/armv7/CBLHTTPServer.o unable to open object file Here is where i am currently with the progress - Ios client was not able to pull - SOLVED by using plugin version 1.0.2 32 bit architecture (still not using 1.0.3) - _replicate calls from an IOS client with session cookie fail to authenticate with SG after restarting the app - UNSOLVED (cookie doesn't get expired..i checked it) -archive my ios cordova app from xcode using plugin version 1.0.3 for 64 bit architecture - UNSOLVED (gives linker errors) -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/9a3a8856-e3ed-4c79-ac4f-76dfe240ec54%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
