[jira] [Commented] (CB-13464) System Log does not work for Simulator with iOS 11

2017-10-19 Thread JIRA

[ 
https://issues.apache.org/jira/browse/CB-13464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16211095#comment-16211095
 ] 

Radek Matěj commented on CB-13464:
--

Yes, logging to Xcode and Safari works. It's just the System Log of Simulator 
with iOS11.

According to [this 
comment|https://github.com/NativeScript/nativescript-cli/issues/3118#issuecomment-332757300],
 it seems that there are changes in event logging in iOS11. Doesn't it mean 
that console.log should be propagated differently for iOS 11? And what about 
that _assertion failed_? This is actually the only and last message from the 
Cordova app.

> System Log does not work for Simulator with iOS 11
> --
>
> Key: CB-13464
> URL: https://issues.apache.org/jira/browse/CB-13464
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: macOS 10.13; Xcode 9.0; cordova-ios@4.5.2
>Reporter: Radek Matěj
>Assignee: Suraj Pindoria
>Priority: Minor
>
> When running Cordova app on Simulator with iOS 11, console.log does not 
> appear in System Log.
> - it works in Safari dev tools console
> - it works when deploying to a simulator with iOS 10.3
> - the only record from the app in System Log for iOS 11 is:
> {code}
> HelloCordova[39532]: assertion failed: 17A405 15A372: libxpc.dylib + 69578 
> [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d
> {code}
> Steps to reproduce:
> - create and run empty Cordova project in Simulator:
> {code}
> cordova create test
> cd test
> cordova platform add ios
> cordova emulate --target="iPhone-6, 11.0" # vs cordova emulate 
> --target="iPhone-6, 10.3"
> {code}
> - open log (Debug → Open System Log...)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org



[jira] [Commented] (CB-13464) System Log does not work for Simulator with iOS 11

2017-10-18 Thread Suraj Pindoria (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-13464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16210233#comment-16210233
 ] 

Suraj Pindoria commented on CB-13464:
-

Not sure if this is an issue with Cordova, but it may just be a Simulator 
quirk. If I deploy the app from Xcode to the Simulator I am able to see the 
logs in the Xcode developer console. Also, if you use Safari remote debugging 
you can also see the logs being output there as well.

> System Log does not work for Simulator with iOS 11
> --
>
> Key: CB-13464
> URL: https://issues.apache.org/jira/browse/CB-13464
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: cordova-ios
> Environment: macOS 10.13; Xcode 9.0; cordova-ios@4.5.2
>Reporter: Radek Matěj
>Assignee: Suraj Pindoria
>Priority: Minor
>
> When running Cordova app on Simulator with iOS 11, console.log does not 
> appear in System Log.
> - it works in Safari dev tools console
> - it works when deploying to a simulator with iOS 10.3
> - the only record from the app in System Log for iOS 11 is:
> {code}
> HelloCordova[39532]: assertion failed: 17A405 15A372: libxpc.dylib + 69578 
> [D870A237-D3A7-31F5-AAD4-CE880C0C8E7B]: 0x7d
> {code}
> Steps to reproduce:
> - create and run empty Cordova project in Simulator:
> {code}
> cordova create test
> cd test
> cordova platform add ios
> cordova emulate --target="iPhone-6, 11.0" # vs cordova emulate 
> --target="iPhone-6, 10.3"
> {code}
> - open log (Debug → Open System Log...)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org