Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iPhone got no targetID if connect over network #295

Open
jansgescheit opened this issue Mar 9, 2023 · 1 comment
Open

iPhone got no targetID if connect over network #295

jansgescheit opened this issue Mar 9, 2023 · 1 comment
Labels

Comments

@jansgescheit
Copy link

Version:

1.7.1

Description:

An iPhone that has been set as a debugging device in Xcode via the network (not via USB) is recognised, but does not receive a targetID in the selection.

Command Output:

npx native-run ios --list --verbose

  native-run:ios:lib:client:usbmuxd connectUsbmuxdSocket +0ms
  native-run:ios:lib:client:usbmuxd getDevices +1ms
  native-run:ios:lib:protocol:usbmux socket write: {"messageType":"ListDevices"} +0ms
  native-run:ios:lib:protocol:usbmux Response: {"DeviceList":[{"DeviceID":2024,"MessageType":"Attached","Properties":{"ConnectionType":"Network","DeviceID":2024,"EscapedFullServiceName":"40:9c:28:0a:16:75@fe80::429c:28ff:fe0a:1675-supportsRP._apple-mobdev2._tcp.local.","InterfaceIndex":14,"NetworkAddress":{"type":"Buffer","data":[28,30,0,0,0,0,0,0,254,128,0,0,0,0,0,0,28,171,125,23,25,232,139,180,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"SerialNumber":"7d8c09d2___HIDDEN_BY_MYSELF__bf20"}}]} +226ms
  native-run:ios:lib:client:usbmuxd connectUsbmuxdSocket +226ms
  native-run:ios:lib:client:usbmuxd connect: 2024 on port 62078 +1ms
  native-run:ios:lib:protocol:usbmux socket write: {"messageType":"Connect","extraFields":{"DeviceID":2024,"PortNumber":32498}} +1ms
  native-run:ios:lib:protocol:usbmux Response: {"MessageType":"Result","Number":0} +10ms
  native-run:ios:lib:client:lockdownd getAllValues +0ms
  native-run:ios:lib:protocol:lockdown socket write: {"Request":"GetValue"} +0ms
  native-run:ios:lib:protocol:lockdown Response: {"Request":"GetValue","Value":{"CPUArchitecture":"arm64","DeviceName":"Jans iPhone","HardwareModel":"D221AP","ProductName":"iPhone OS","ProductType":"iPhone10,6","ProductVersion":"16.3","SupportedDeviceFamilies":[1]}} +107ms

Connected Devices:

  Name          API        Target ID
  ----------------------------------
  Jans iPhone   iOS 16.3   ?

Virtual Devices:

  Name                                    API        Target ID
  ---------------------------------------------------------------------------------------
  iPad (10th generation)                  iOS 16.2   A2EBA216-8B01-4110-B602-71FF9A10A52C
  iPad Air (5th generation)               iOS 16.2   5272C212-51BB-4887-BDF7-ED0EC01B7D51
  iPad Pro (11-inch) (4th generation)     iOS 16.2   4201FFDE-8954-4137-92DF-2496FABFB834
  iPad Pro (12.9-inch) (6th generation)   iOS 16.2   27366702-53C8-4BF0-922E-145C39EF7D9E
  iPad mini (6th generation)              iOS 16.2   98582CF2-23D0-49DF-874A-4FD165149D6B
  iPhone 14                               iOS 16.2   E0BC9885-2CA9-4A80-9F37-2345F85DC739
  iPhone 14 Plus                          iOS 16.2   72977E93-5A4B-4D4A-9109-C769B4B7F779
  iPhone 14 Pro                           iOS 16.2   EB6D7FF2-620E-4335-8224-6C3DF079558E
  iPhone 14 Pro Max                       iOS 16.2   A323DE15-0107-47B9-A194-727D41F01851
  iPhone SE (3rd generation)              iOS 16.2   4C0C0493-F295-456A-BDE5-F22F69E3FCD7

Environment Info:

Ionic:

Ionic CLI : 6.20.8

Utility:

cordova-res : not installed globally
native-run : not installed globally

System:

NodeJS : v19.7.0
npm : 9.5.0
OS : macOS Unknown

@sanderschnydrig
Copy link

Same issue here, would love to trash the usb cable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants