Hello,
I got a blank screen when starting app on ios or from simulator, any idea?
Here the ouptut from xcode console
bjc[4951]: Class PLBuildVersion is implemented in both /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices (0x10de6f998) and /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices (0x10dbee880). One of the two will be used. Which one is undefined.
2017-12-04 21:26:59.297 xxx[4951:146985] Apache Cordova native platform version 4.4.0 is starting.
2017-12-04 21:26:59.298 xxx[4951:146985] Multi-tasking -> Device: YES, App: YES
2017-12-04 21:26:59.687 xxx[4951:146985] Using UIWebView
2017-12-04 21:26:59.689 xxx[4951:146985] [CDVTimer][handleopenurl] 0.146031ms
2017-12-04 21:26:59.695 xxx[4951:146985] [CDVTimer][intentandnavigationfilter] 4.414022ms
2017-12-04 21:26:59.696 xxx[4951:146985] [CDVTimer][gesturehandler] 0.000000ms
2017-12-04 21:26:59.696 xxx[4951:146985] CDVPlugin class CDVSplashScreen (pluginName: splashscreen) does not exist.
2017-12-04 21:26:59.697 xxx[4951:146985] [CDVTimer][splashscreen] 0.634968ms
2017-12-04 21:26:59.697 xxx[4951:146985] CDVPlugin class CDVStatusBar (pluginName: statusbar) does not exist.
2017-12-04 21:26:59.698 xxx[4951:146985] [CDVTimer][statusbar] 0.619948ms
2017-12-04 21:26:59.699 xxx[4951:146985] CDVPlugin class IonicKeyboard (pluginName: keyboard) does not exist.
2017-12-04 21:26:59.699 xxx[4951:146985] [CDVTimer][keyboard] 0.599027ms
2017-12-04 21:26:59.700 xxx[4951:146985] [CDVTimer][TotalPluginStartup] 10.594010ms
2017-12-04 21:27:02.740 xxx[4951:146985] Resetting plugins due to page load.
2017-12-04 21:27:04.173 xxx[4951:146985] Finished load of: xxx/Library/Developer/CoreSimulator/Devices/6EC37B07-8AE8-4D2D-BFE1-F499A1AB5D5A/data/Containers/Bundle/Application/5FAC0A9E-9D98-4325-ADE0-94124B9EDD82/xxx.app/www/index.html
2017-12-04 21:27:04.333 xxx[4951:146985] CDVPlugin class CDVDevice (pluginName: Device) does not exist.
2017-12-04 21:27:04.334 xxx[4951:146985] ERROR: Plugin 'Device' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2017-12-04 21:27:04.335 xxx[4951:146985] -[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["Device1592708386","Device","getDeviceInfo",[]]
2017-12-04 21:27:04.359 xxx[4951:146985] CDVPlugin class CDVStatusBar (pluginName: StatusBar) does not exist.
2017-12-04 21:27:04.360 xxx[4951:146985] ERROR: Plugin 'StatusBar' not found, or is not a CDVPlugin. Check your plugin mapping in config.xml.
2017-12-04 21:27:04.362 xxx[4951:146985] -[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["StatusBar1592708387","StatusBar","_ready",[]]
package.json
{
"name": "XXX",
"version": "XXX",
"author": "XXX",
"private": true,
"config": {
"ionic_webpack": "./config/webpack.config.js"
},
"scripts": {
"clean": "ionic-app-scripts clean",
"build": "ionic-app-scripts build",
"lint": "ionic-app-scripts lint",
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "5.0.1",
"@angular/compiler": "5.0.1",
"@angular/compiler-cli": "5.0.1",
"@angular/core": "5.0.1",
"@angular/forms": "5.0.1",
"@angular/http": "5.0.1",
"@angular/platform-browser": "5.0.1",
"@angular/platform-browser-dynamic": "5.0.1",
"@ionic-native/core": "4.4.0",
"@ionic-native/splash-screen": "4.4.0",
"@ionic-native/status-bar": "4.4.0",
"@ionic/storage": "^2.1.3",
"@ngx-translate/core": "^9.0.1",
"@ngx-translate/http-loader": "^2.0.0",
"angular2-cookie": "^1.2.6",
"cordova-android": "^6.2.3",
"cordova-ios": "^4.4.0",
"cordova-plugin-compat": "^1.1.0",
"cordova-plugin-console": "^1.0.4",
"cordova-plugin-device": "^1.1.4",
"cordova-plugin-ionic-webview": "^1.1.11",
"cordova-plugin-splashscreen": "^4.0.3",
"cordova-plugin-statusbar": "^2.2.0",
"cordova-plugin-whitelist": "^1.3.1",
"cordova-sqlite-storage": "^2.0.4",
"ionic-angular": "3.9.2",
"ionic-logging-service": "^4.0.0",
"ionic-plugin-keyboard": "^2.2.1",
"ionicons": "3.0.0",
"rxjs": "^5.5.2",
"sw-toolbox": "3.6.0",
"zone.js": "0.8.18"
},
"devDependencies": {
"@angular/cli": "^1.5.5",
"@ionic/app-scripts": "^3.1.2",
"typescript": "2.4.2"
},
"description": "An Ionic project",
"cordova": {
"plugins": {
"cordova-plugin-device": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-splashscreen": {},
"cordova-plugin-whitelist": {},
"ionic-plugin-keyboard": {},
"cordova-plugin-console": {},
"cordova-plugin-statusbar": {}
},
"platforms": [
"ios"
]
}
}
config.xml
<?xml version='1.0' encoding='utf-8'?>
<widget id="xxx" version="xxx" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>xxx</name>
<description>To see deep in the sea</description>
<content src="index.html" />
<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:*" />
</platform>
<platform name="windows">
<splash src="resources/windows/SplashScreen.scale-100.png" target="SplashScreen" />
<splash src="resources/windows/SplashScreenPhone.scale-100.png" target="SplashScreenPhone" />
</platform>
<preference name="webviewbounce" value="false" />
<preference name="UIWebViewBounce" value="false" />
<preference name="DisallowOverscroll" value="true" />
<preference name="android-minSdkVersion" value="16" />
<preference name="BackupWebStorage" value="none" />
<preference name="SplashScreenDelay" value="0" />
<preference name="FadeSplashScreen" value="false" />
<preference name="FadeSplashScreenDuration" value="0" />
<preference name="windows-target-version" value="10.0" />
<preference name="SplashScreenBackgroundColor" value="0xFFFFFFFF" />
<feature name="StatusBar">
<param name="ios-package" onload="true" value="CDVStatusBar" />
</feature>
<allow-navigation href="http://*/" />
<allow-navigation href="http://localhost:8100" />
<engine name="ios" spec="^4.4.0" />
<plugin name="cordova-plugin-console" spec="^1.0.4" />
<plugin name="cordova-plugin-device" spec="^1.1.4" />
<plugin name="cordova-plugin-splashscreen" spec="^4.0.3" />
<plugin name="cordova-plugin-statusbar" spec="^2.2.0" />
<plugin name="cordova-plugin-whitelist" spec="^1.3.1" />
<plugin name="cordova-sqlite-storage" spec="^2.0.4" />
<plugin name="ionic-plugin-keyboard" spec="^2.2.1" />
</widget>