Ios emulator white screen


#1

Hi, my app work on browser and android. When i add platform ios and send a friend for build, app stay on start white screen. White screen show under 6.0 android devices. But my problem about ios.
an error code(
2019-05-10 23:13:05.005119+0300 Last Survivors[1381:56045] Apache Cordova native platform version 5.0.1 is starting.
2019-05-10 23:13:05.005716+0300 Last Survivors[1381:56045] Multi-tasking -> Device: YES, App: YES
2019-05-10 23:13:05.035786+0300 Last Survivors[1381:56045] Using UIWebView
2019-05-10 23:13:05.037107+0300 Last Survivors[1381:56045] [CDVTimer][console] 0.048041ms
2019-05-10 23:13:05.037263+0300 Last Survivors[1381:56045] [CDVTimer][handleopenurl] 0.058055ms
2019-05-10 23:13:05.038560+0300 Last Survivors[1381:56045] Unlimited access to network resources
2019-05-10 23:13:05.038705+0300 Last Survivors[1381:56045] [CDVTimer][intentandnavigationfilter] 1.358032ms
2019-05-10 23:13:05.038834+0300 Last Survivors[1381:56045] [CDVTimer][gesturehandler] 0.047922ms
2019-05-10 23:13:05.039046+0300 Last Survivors[1381:56045] [CDVTimer][socialsharing] 0.077009ms
2019-05-10 23:13:05.039151+0300 Last Survivors[1381:56045] [CDVTimer][TotalPluginStartup] 2.125025ms
2019-05-10 23:13:05.329680+0300 Last Survivors[1381:56045] Resetting plugins due to page load.
2019-05-10 23:13:05.359369+0300 Last Survivors[1381:56045] Failed to load webpage with error: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
2019-05-10 23:13:05.360817+0300 Last Survivors[1381:56045] Resetting plugins due to page load.
2019-05-10 23:13:05.803289+0300 Last Survivors[1381:56045] Finished load of: file:///Users/ma/Library/Developer/CoreSimulator/Devices/002DB2EE-B825-45F0-9E3B-FFEE9078EC91/data/Containers/Bundle/Application/CEF59776-DBE8-4AEC-A574-3A0FE6AD6341/Last%20Survivors.app/www/index.html)

What can be hapen about this?
app.js
`/ Init App
var app = new Framework7({
id: ‘io.framework7.testapp’,
root: ‘#app’,
name: ‘Survival App’,
theme: theme,
externalLinks: ‘.external, a[target="_system"]’,
data: function () {
return {

};

},
panel: {
swipe: ‘left’,//panelin kaydırarak açma özelliğini aktif etmek için kullanılıyor

},
dialog: {
buttonOk: t_btnok,
buttonCancel:t_btncancel
},
methods: {

},
routes: routes,

});

app.views.create(’.view-main’, {///main viev ana sayfa
url: ‘/’

});

`
routes.js

`var routes = [

// Index page
{
path: ‘/’,
url: ‘./index.html’,
name: ‘home’,
beforeEnter: function (routeTo, routeFrom, resolve) {
app.panel.enableSwipe();
resolve();
},
beforeLeave: function (routeTo, routeFrom, resolve) {
app.panel.disableSwipe();
resolve();
},
on: {
pageBeforeIn: function (event, page) {//buradaki kodlar index ilk açıldığında değil index’e başka sayfadan geri dönüldüğünde çalışıyor.
// do something before page gets into the view
document.getElementById(“appname”).innerHTML = t_appname;
document.getElementById(“t_main_nature”).innerHTML = t_main_nature;
document.getElementById(“t_main_disasters”).innerHTML = t_main_disasters;
document.getElementById(“t_main_doomsday”).innerHTML = t_main_doomsday;
document.getElementById(“t_additional_apps”).innerHTML = t_additional_apps;
document.getElementById(“t_device”).innerHTML = t_device;
document.getElementById(“t_about_app”).innerHTML = t_about_app;
document.getElementById(“t_did_you_like”).innerHTML = t_did_you_like;
document.getElementById(“t_warning”).innerHTML = t_warning;

    },
    pageAfterIn: function (event, page) {
      // do something after page gets into the view
      //app.dialog.alert('afterin çalışıyor');
      
    },
    pageInit: function (event, page) {
      // do something when page initialized
    },
    pageBeforeRemove: function (event, page) {

// do something before page gets removed from DOM

    },
 }

},`

cordova config.xml
<?xml version='1.0' encoding='utf-8'?> <widget id="com.grc.hayattakalma" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>LastSurvivors</name> <description> Survial App Project </description> <author email="[email protected]" href="http://survivalapp.net"> Survvial App Project Team </author> <content src="index.html" /> <plugin name="cordova-plugin-whitelist" spec="1" /> <access origin="*" /> <allow-intent href="http://*/*" /> <allow-intent href="https://*/*" /> <allow-intent href="tel:*" /> <allow-intent href="sms:*" /> <allow-intent href="mailto:*" /> <allow-intent href="geo:*" /> <platform name="android"> <allow-intent href="market:*" /> </platform> <platform name="ios"> <allow-intent href="itms:*" /> <allow-intent href="itms-apps:*" /> <preference name="BackupWebStorage" value="none" /> <icon height="1024" src="res/icon/ios/icon-1024.png" width="1024" /> <icon height="29" src="res/icon/ios/icon-small.png" width="29" /> <icon height="58" src="res/icon/ios/[email protected]" width="58" /> <icon height="87" src="res/icon/ios/[email protected]" width="87" /> <icon height="40" src="res/icon/ios/icon-small-40.png" width="40" /> <icon height="80" src="res/icon/ios/[email protected]" width="80" /> <icon height="120" src="res/icon/ios/[email protected]" width="120" /> <icon height="50" src="res/icon/ios/icon-small-50.png" width="50" /> <icon height="100" src="res/icon/ios/[email protected]" width="100" /> <icon height="57" src="res/icon/ios/icon.png" width="57" /> <icon height="114" src="res/icon/ios/[email protected]" width="114" /> <icon height="60" src="res/icon/ios/icon-60.png" width="60" /> <icon height="120" src="res/icon/ios/[email protected]" width="120" /> <icon height="180" src="res/icon/ios/[email protected]" width="180" /> <icon height="72" src="res/icon/ios/icon-72.png" width="72" /> <icon height="144" src="res/icon/ios/[email protected]" width="144" /> <icon height="76" src="res/icon/ios/icon-76.png" width="76" /> <icon height="152" src="res/icon/ios/[email protected]" width="152" /> <icon height="167" src="res/icon/ios/icon-167.png" width="167" /> <icon height="167" src="res/icon/ios/[email protected]" width="167" /> </platform> <plugin name="cordova-plugin-inappbrowser" spec="^3.0.0" /> <plugin name="cordova-plugin-x-socialsharing" spec="^5.4.4" /> <plugin name="es6-promise-plugin" spec="^4.2.2" /> <engine name="ios" spec="~4.5.5" /> </widget>


#2

Что гугл говорит по поводу этой ошибки?


#3

I find very old info. My friend say this not work on new xcode.


#4

Apple developer forum says ;

As you can see; -999 is caused by ErrorCancelled .

This means: another request is made before the previous request is completed.

or

session property is deinit before completion of async work

But i don’t know which thing doing that. How can i detect this any suggestion?