I have a cordova project that was working just fine, but since I've updated to cordova 6.0 and the new webview I get this error:
XMLHttpRequest cannot load file:///Users/adrian/Library/Developer/CoreSimulator/Devices/3ACC077E-9068-4352-A28B-4BD13124BE5B/data/Containers/Bundle/Application/A387F0D2-9445-4E1F-BF85-7AAF68CBA973/Vivre.app/www/images/icons/dest/index.html?_=1454590513181. Cross origin requests are only supported for HTTP.
jQuery code:
$.ajax({
    dataType: 'html',
    crossDomain: true,
    url: "./images/icons/dest/index.html",
    beforeSend: false,
    cache: false
}).done(function(data){
    $( "#js-svg-inline" ).append(data).hide();
});
