Ionic cordova run iOS hangs on splash screen


#1

new to ionic.
struggling to make it work with ionic examples…
just updated Xcode to 9 (maybe that doesn’t help…)

so first of all here are my ionic infos

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:

Cordova CLI : 7.0.1 

local packages:

@ionic/app-scripts : 3.0.0
Cordova Platforms  : ios 4.4.0
Ionic Framework    : ionic-angular 3.7.0

System:

ios-deploy : 1.9.1 
ios-sim    : 5.0.4 
Node       : v8.4.0
npm        : 5.4.2 
OS         : macOS Sierra
Xcode      : Xcode 9.0 Build version 9A235

The problem is when i run ionic cordova run iOS -lsc
it just hangs on the splash screen and i see this in the console.
strange thing is if i modify a file (add a space for example) and save, then the app gets reloaded and finally shows !!
what’s going on ?
Any way of seeing more helpful messages in the console to help me figure out whats going on ?

------ Debug phase ------
Starting debug of 3fc0033758d0675ac11e70e08b6b5a2b81e20748 (J72AP, iPad Air (GSM), iphoneos, arm64) a.k.a. ‘iPad de mateo’ connected through USB…
[ 0%] Looking up developer disk image
[ 95%] Developer disk image mounted successfully
[100%] Connecting to remote debug server

(lldb) command source -s 0 '/tmp/05AB6544-E338-41FF-95FF-61AED1D91946/fruitstrap-lldb-prep-cmds-3fc0033758d0675ac11e70e08b6b5a2b81e20748’
Executing commands in ‘/tmp/05AB6544-E338-41FF-95FF-61AED1D91946/fruitstrap-lldb-prep-cmds-3fc0033758d0675ac11e70e08b6b5a2b81e20748’.
(lldb) platform select remote-ios --sysroot '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0 (15A372)/Symbols’
Platform: remote-ios
Connected: no
SDK Path: “/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.0 (15A372)/Symbols”
(lldb) target create “/Users/mateo/Dev/test/ionictest/simpltest/platforms/ios/build/device/Ionic Conference.app"
Current executable set to ‘/Users/mateo/Dev/test/ionictest/simpltest/platforms/ios/build/device/Ionic Conference.app’ (arm64).
(lldb) script fruitstrap_device_app=”/private/var/containers/Bundle/Application/D91979A0-5143-49BF-9C53-46992D90ABBE/Ionic Conference.app"
(lldb) script fruitstrap_connect_url=“connect://127.0.0.1:50196”
(lldb) command script import “/tmp/05AB6544-E338-41FF-95FF-61AED1D91946/fruitstrap_3fc0033758d0675ac11e70e08b6b5a2b81e20748.py”
(lldb) command script add -f fruitstrap_3fc0033758d0675ac11e70e08b6b5a2b81e20748.connect_command connect
(lldb) command script add -s asynchronous -f fruitstrap_3fc0033758d0675ac11e70e08b6b5a2b81e20748.run_command run
(lldb) command script add -s asynchronous -f fruitstrap_3fc0033758d0675ac11e70e08b6b5a2b81e20748.autoexit_command autoexit
(lldb) command script add -s asynchronous -f fruitstrap_3fc0033758d0675ac11e70e08b6b5a2b81e20748.safequit_command safequit
(lldb) connect
(lldb) run
success
(lldb) safequit

[18:46:57] console.warn: Google Maps API warning: NoApiKeys
https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys


#2

Please edit your post, it is not very readable at the moment.
Use the </> button above the input field to format your code, command line output or error message (select the text first, then click the button or wrap it in ``` manually). Check the preview if it looks better. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.