HELP: Ionic run iOS deploy to device - console output


#1

Hello,

I have seen some similar threads related to having an issue with ios-deploy => lldb.

I am wanted to launch my app on a device and see console output in my shell.

I can launch my device via ionic run ios and it will deploy/launch on my device.

If I want live reloads and console output I type in the following => ionic run ios -l -c -s. When I do this, the app stays on the splash screen and I see the following in my shell:


(lldb) command source -s 0 '/tmp/1262C321-52EF-4DFE-8808-34921D8A994D/fruitstrap-lldb-prep-cmds-13ea87b6216721147aff41bcccadad22e458a298’
Executing commands in ‘/tmp/1262C321-52EF-4DFE-8808-34921D8A994D/fruitstrap-lldb-prep-cmds-13ea87b6216721147aff41bcccadad22e458a298’.
(lldb) platform select remote-ios --sysroot '/Users/test/Library/Developer/Xcode/iOS DeviceSupport/8.1.2 (12B440)/Symbols’
Platform: remote-ios
Connected: no
SDK Path: “/Users/test/Library/Developer/Xcode/iOS DeviceSupport/8.1.2 (12B440)/Symbols”
(lldb) target create “/Users/test/test1/platforms/ios/build/device/test1"
Current executable set to ‘/Users/test/test1/platforms/ios/build/device/test1’ (armv7).
(lldb) script fruitstrap_device_app=”/private/var/mobile/Containers/Bundle/Application/A187857B-2AE3-4F2F-8F42-E726FB1B3107/test1"
(lldb) script fruitstrap_connect_url=“connect://127.0.0.1:54012”
(lldb) command script import “/tmp/1262C321-52EF-4DFE-8808-34921D8A994D/fruitstrap_13ea87b6216721147aff41bcccadad22e458a298.py”
(lldb) command script add -f fruitstrap_13ea87b6216721147aff41bcccadad22e458a298.connect_command connect
(lldb) command script add -s asynchronous -f fruitstrap_13ea87b6216721147aff41bcccadad22e458a298.run_command run
(lldb) command script add -s asynchronous -f fruitstrap_13ea87b6216721147aff41bcccadad22e458a298.autoexit_command autoexit
(lldb) command script add -s asynchronous -f fruitstrap_13ea87b6216721147aff41bcccadad22e458a298.safequit_command safequit
(lldb) connect
(lldb) run
success
(lldb) safequit
Process 285 stopped
Process 285 detached

Here is my configuration:
Cordova CLI: 6.1.1
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
ios-deploy version: 1.8.6
OS: Mac OS X El Capitan
Node Version: v5.5.0
Xcode version: Xcode 7.2.1 Build version 7C1002

Any solutions to this?