title: Cordova window.openDatabase() on Xcode - no error output
body: <p>I have a Cordova iOS app that makes a call to <code>window.openDatabase()</code> in the <code>onDeviceReady()</code> event handler. It seems execution of the <code>onDeviceReady()</code> event handler stops on that line, because my <code>console.log()</code> beneath that line never show up in the debug console in Xcode. Neither do any other error messages. </p>
  
  <p>The same code works fine on Android devices and <code>Chrome/Ripple</code> emulator. What is wrong?</p>
  
  <pre><code>var db = null;
  
  // PhoneGap is ready
  function onDeviceReady() {
      console.log("onDeviceReady");
  
      db = window.openDatabase("mydb", "1.0", "My DB", 100000000);        
  
      console.log("This will never be displayed in Xcode log");
  
      db.transaction(checkDB, checkErrorCB);        
  }
  </code></pre>
  
  <p>Cordova version: 2.3.0</p>
  
  <p>Xcode version: 4.5.2</p>
  
  <p>I am testing on iPhone 5.1 and iPhone 6.0 simulator.</p>