[TIMOB-28268] Xcode 9: Add support for wireless debugging
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | cb-tooling, ios11 |
Reporter | Hans Knöchel |
Assignee | Christopher Williams |
Created | 2017-06-06T19:22:24.000+0000 |
Updated | 2020-12-04T00:36:53.000+0000 |
Description
Xcode 9 finally includes support for wireless debugging of iOS- and tvOS-based apps. We should support the same in Titanium from both CLI and Studio.
Read more about Xcode 9 [here](https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/WhatsNewXcode/xcode_9/xcode_9.html).
I figured out a way to do wireless debugging a while ago. Not sure if this feature will affect the way I was thinking we could do it.
Hi guys. Any hints on how to enable this on Xcode 9 for Ti apps?
[~ygbr] No idea how it works for native iOS apps and I have no idea if our debugger today supports it. I know you can launch Safari and see the iOS device somewhere in the Developer menu, but I don't recall if that was over USB or WiFi. What I found was a way for node-ios-device (which uses the private MobileDevice.framework) to detect if it sees the device over USB or WiFi. I built node-ios-device not knowing it treated USB and WiFi devices differently. I use the UDID to track the devices and filter out all non-USB devices (https://github.com/appcelerator/node-ios-device/blob/master/src/runloop.cpp#L71). I actually should be using the interface type and the UDID to uniquely identify a device. Once I fix this, which won't be anytime soon (maybe Q3 or Q4?), then we should be able to support debugging over WiFi. It will require a bit of hacking on our part and a bit of luck.
Hi ! Is there any update on this issue?
[~nsalahin] No update. :(
You can use [ios-deploy](https://github.com/ios-control/ios-deploy/) to support wireless installs. Would be great to be incorporated into ioslib / node-ios-device. *EDIT*: Two additional things: 1. This should be moved to TIMOB, since this is not a studio thing 2. Here is an example to use wireless installs today: