Black View Problem on iOS and Android [SOLVED]


On iOS I’m getting a black view. Just the top bar is showing. The only error that I see in the log is this:

ERROR: /Applications/ is depending on legacy on-demand authorization, which is not supported for new apps

I’m not sure if this is the cause of the problem, but I see no javascript errors when testing on a web server.

XCode 6.1
Cordova 4.1.2
ionic 1.2.8
ios-sim 3.1.1

I installed some cordova plugins to get around another error (“device not found”), removed and rebuilt the platforms. I’ve reset the iOS Simulator multiple times.

I’m not sure how to debug this any further. Any pointers would be appreciated.


I have just gotten this running on Android, and it is showing the same problem (viz, a black view). I’m wondering if this is related to a javascript error instead. Any ideas on how to debug what might be going wrong? It works fine as a regular web app, with no errors in the console.


I solved the problem by learning how to use the Safari inspector with the emulator and/or device. It showed me that a number of things were not being loaded, either because they were using an initial slash (e.g., /js/whatever.js), or because they were referencing cdn storage on the web. I made all files local.