Debugging a PhoneGap project we needed to be able to see the database so we ran the emulator via xCode and tried using Safari to remotely inspect the webview. This worked but Safari would’t show us the database. We then tried to use Weinre so that we could use Chrome to do the remote inspection but xCode complained with the following error:
App Transport Security has blocked a cleartext http (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.
The error message told us what to do to work around the issue and a few seconds later we found the answer on Stackoverflow – add this to the plist.
That’s it – Weinre worked and we moved on….