Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28268] Xcode 9: Add support for wireless debugging

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelscb-tooling, ios11
ReporterHans Knöchel
AssigneeChristopher Williams
Created2017-06-06T19:22:24.000+0000
Updated2020-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).

Comments

  1. Chris Barber 2017-06-06

    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.
  2. Ygor Lemos 2018-04-09

    Hi guys. Any hints on how to enable this on Xcode 9 for Ti apps?
  3. Chris Barber 2018-04-09

    [~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.
  4. Nazmus Salahin 2018-11-30

    Hi ! Is there any update on this issue?
  5. Chris Barber 2018-11-30

    [~nsalahin] No update. :(
  6. Hans Knöchel 2020-02-23

    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:
       ➜  my-app git:(master) ✗ ios-deploy --justlaunch --debug --bundle build/iphone/build/Products/Debug-iphonesimulator/MyApp.app
       [....] Waiting for iOS device to be connected
       [....] Using 00008020-001435260A28002E (D321AP, iPhone XS, iphoneos, arm64e) a.k.a. 'iPhone from Hans'.
       ------ Install phase ------
       [  0%] Found 00008020-001435260A28002E (D321AP, iPhone XS, iphoneos, arm64e) a.k.a. 'iPhone from Hans' connected through WIFI, beginning install
       

JSON Source