[
https://issues.apache.org/jira/browse/CB-13464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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; [email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]