CLI console.log not printing


#1

I just upgraded to XCode 9 and iOS 11 and my console.log quit outputting to the terminal when running

tns run ios --emulator --watch.

Was working fine previous to updating XCode. Have not been able to get it working again.

tns debug ios --watch does output to the nativescript console, but not the terminal. Any help or suggestions would be awesome!

I am running the latest version of nativescript, xcode, node, etc.


#2

Just got confirmed this is a issue with ios11. They should be working on it.


#3

Is there somehwere I can track this issue?

EDIT - I found it: https://github.com/NativeScript/nativescript-cli/issues/3141

EDIT - KristianDD’s workaround worked for me (see above URL)


Where is the console.log output?
#4

I have a blog article: http://fluentreports.com/blog/?p=545 which will show you ways to work around this and other iOS console logging issues.

Nathanael A.