Tuesday, February 28, 2012

IrisCouch and CouchCocoa

  • Here's some sample code that can be thrown directly into your iPhone application's application:didFinishLaunchingWithOptions: method, in order to perform a basic connectivity test for your IrisCouch domain.
    • You may refer to this post to get CouchCocoa into your iOS project.
  • If you see error messages such as the following in your Xcode console then you are well on your way:
  • As mentioned by in this thread, simply make the following changes to your IrisCouch domain:
    • Go to http://mydomain.iriscouch.com/_utils/
    • Log into your account
    • Click “Configuration” in the sidebar
    • Click “Add a new section” at the bottom
    • Fill in
      • section: httpd
      • option: WWW-Authenticate
      • value: Basic realm="administrator"
  • It should work well now and after you spot the following logs, you can go confirm that a new database has actually been created on IrisCouch via your /_utils/ web console.


Post a Comment