Splashscreen Keeps Loading for ios app on emulator with ionic version 3.12 and 3.19

#1

I have generated the ionic project with the following command
ionic cordova start myApp blank
Then I installed the iOS platform
ionic cordova platform add ios
Then I build the iOS app
ionic cordova build ios

But after deploying app on emulator it shows only splash screen and keeps loading
Ionic Info:
cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 3.1.0
Cordova Platforms  : ios 4.4.0
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 25.2.5
ios-deploy        : 1.9.2 
ios-sim           : 5.0.13 
Node              : v6.11.4
npm               : 3.10.10 
OS                : macOS Sierra
Xcode             : Xcode 8.3.3 Build version 8E3004b 

Misc:

backend : pro

Please suggest.

#2

Hmm, there’s not a lot of information to go off of from that. I’d suggest opening the Safari dev tools first and try to see what errors could be showing up.

#3

@mhartington After debugging it shows An error occured trying to load the resource

#4

What does the console say that? Also, what command are you using to deploy to the sim?

#5

@mhartington Console shows nothing, even if I have put console log in app.component. And for building ios I used ionic cordova build ios command

#6

When you attach the dev tools, can you hit cmd-r to reload the browser. In cases like this, the dev tools miss any logs that could have been printed out

#7

Tried it but didnt show anything at all

#8

Hmm, can you post your project up on github? Im not able to replicate this locally so not sure.

#9

I just created the blank project itself, I didn’t change a single line of code, still I’ll upload it on github.

#10

@mhartington Here I have uploaded the code https://github.com/itsvick/myapp

#11

Hmm, something is not adding up then, I was able to deploy the app without any issues right to my device.

#12

I guess platform.ready itself is not firing
@mhartington