Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Component/s: SDK
-
Labels:None
-
Environment:iOS 5.1
Description
Couchbase fails to start.
This issue can be replicated by checking-out the latest CouchbaseMobile demo on github:
https://github.com/couchbaselabs/iOS-Couchbase-Demo
In order to reproduce this error, the device must not have been enabled for development through Xcode.
The moment you press "Use for Development" in Xcode, and then run the app, Couchbase successfully starts.
The log messages seen when running the application are:
Mar 13 16:59:00 unknown GrocerySync[428] : ------ application:didFinishLaunchingWithOptions:
Mar 13 16:59:00 unknown kernel[0] : launchd[428] Builtin profile: container (sandbox)
Mar 13 16:59:00 unknown kernel[0] : launchd[428] Container: /private/var/mobile/Applications/F8D6B51E-8CED-42B0-907B-F94378E2403A [69] (sandbox)
Mar 13 16:59:30 unknown GrocerySync[428] : Couchbase: Error: No startup notification from server engine
Even if debug logging is turned on via the default_ios.ini file, still no more detailed couch logs are shown.
This issue can be replicated by checking-out the latest CouchbaseMobile demo on github:
https://github.com/couchbaselabs/iOS-Couchbase-Demo
In order to reproduce this error, the device must not have been enabled for development through Xcode.
The moment you press "Use for Development" in Xcode, and then run the app, Couchbase successfully starts.
The log messages seen when running the application are:
Mar 13 16:59:00 unknown GrocerySync[428] : ------ application:didFinishLaunchingWithOptions:
Mar 13 16:59:00 unknown kernel[0] : launchd[428] Builtin profile: container (sandbox)
Mar 13 16:59:00 unknown kernel[0] : launchd[428] Container: /private/var/mobile/Applications/F8D6B51E-8CED-42B0-907B-F94378E2403A [69] (sandbox)
Mar 13 16:59:30 unknown GrocerySync[428] : Couchbase: Error: No startup notification from server engine
Even if debug logging is turned on via the default_ios.ini file, still no more detailed couch logs are shown.
The proposed solution worked for me. Our app was approved a week ago and we are about to go live so this was a truly urgent issue...
Highly appreciated!