[TIMOB-16162] CLI: iOS: Add support to node-ios-device to tail system log
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-08-05T16:11:02.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | 2014 Sprint 08, 2014 Sprint 08 Tooling, Release 3.3.0 |
Components | CLI, iOS |
Labels | module_build, qe-closed-3.3.0, qe-manualtest |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2014-01-10T14:29:24.000+0000 |
Updated | 2014-08-05T16:11:02.000+0000 |
Description
When doing a iOS device build, the only way to get log output is via the Xcode console. It should be possible to add support to node-ios-device for streaming the syslog to the CLI. Check out the deviceconsole (https://github.com/eswick/deviceconsole) project for some implementation details.
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/5564
Yay :D
You still need to manually launch the app. :( I'm working on an idea of how to start the app automatically, but I haven't been able to get it to work yet.
Like this :)
however for some reason on my device it dies with
I think there is some solution on [this SO](http://stackoverflow.com/a/20276258) but don't have the time right now to investigate more :(
Oh, don't forget to delete the output after you finish cause the trace logs are pretty big (/tmp/sti.trace)
Hope I didn't sound like a smart a** :|
Verified fix using below environment: Appc Studio: 3.3.0.201404281355 SDK build: 3.3.0.v20140425191906 acs: 1.0.14 npm: 1.3.2 alloy: 1.4.0-dev CLI: titanium-3.3.0-dev titanium-code-processor:1.1.1-beta1 Xcode: 5.1.1 Osx: Mavericks(10.9.2) Device: iPhone 5S (7.1.1) Able to see the logs from both Xcode and studio console. Hence closing the issue.