I have created a Phone Gap based application on iPhone. After the first run, I have dragged my www
folder, containing index.html
into the project,
Quit XCode
and apply below command in terminal, its work for me
ionic cordova prepare ios
Try removing the reference, and adding it again. Did you add it as a "Reference"? The icon should be in blue. Then clean and rebuild.
I had the same problem where it worked in the simulator but not a device. My issue was case sensitivity. My file was Index.html instead of lower case index.html.