[TIMOB-20287] iOS Apple Watch extension: Integrate log system to show logs in Titanium from Xcode project
GitHub Issue | n/a |
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-04-27T16:48:20.000+0000 |
Affected Version/s | Release 5.1.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | iOS, logs, watchOS2 |
Reporter | Ricardo Ramirez |
Assignee | Unknown |
Created | 2016-01-28T23:31:27.000+0000 |
Updated | 2020-04-27T16:48:20.000+0000 |
Description
Issue Description
There is no way to see log statements from Watch code. If users write anything in watch code in log statements it doesn't show on appcelerator studio log as well as it doesnt show on xcode log. It makes it difficult to debug the application.
Comments
JSON Source
For watch simulators, Titanium will tail the watch sim's system.log, but the messages are intermingled with the Titanium app's logs. Obviously the watch app would need to
NSLog()
some message to be seen in the log. No idea how to do this on an Apple Watch device. I don't have a watch device to test, but I could get one, though I don't think I'm the right person to implement it.