Fail to connect to iPhone attached to PC (from Mac)

Hi,

I'm attempting to connect from a Mac Mini (MacOS Sierra 10.12.6) to an iPhone SE (iOS 10.3.2) which is plugged into a UBS port on Windows PC (10 Pro 1703) running VirtualHere USB Server (v3.3.7). The logs are as follows:

2017-09-01 11:57:26 INFO :Unmanaging device 4 [05ac:12a8]
2017-09-01 11:57:26 INFO :Found High speed device [05ac:12a8] "Apple Inc., iPhone" at address 4
2017-09-01 11:57:26 INFO :Device 4 [05ac:12a8] BOUND to connection 3
2017-09-01 11:57:28 WARNING :Failed to release claimed device USB\ROOT_HUB30\4&2E69BF72&0&0,USB\VID_05AC&PID_12A8\D1F4E56004946C4848AAE45C86A1EA5DA623AB32,2 while uncapturing, The device does not recognize the command. (0x00000016)
2017-09-01 11:57:29 INFO :Device 4 [05ac:12a8] SURPRISE UNBOUND from connection 3
2017-09-01 11:57:29 INFO :Unmanaging device 4 [05ac:12a8]
2017-09-01 11:57:29 INFO :Found High speed device [05ac:12a8] "Apple Inc., iPhone" at address 4

I'd appreciate some help in resolving this issue.

Thanks,
Brendt

#2

Only the virtualhere linux server supports iDevice connections at the moment...

#3

Hello Michael,

unfortunately, the linux server also has problems serving the iPhone.
I am running Raspian Stretch on my Raspberry Pi Zero W.

If I click on "Use this device" for the iPhone on the Mac using VH USB client for Mac, it connects but the connection is immediately lost again.
Furthermore, if I disconnect the USB cable from the iPhone, the iPhone crashes and restarts.
I am using an iPhone 6s with iOS 10.3.3.

Sep 17 18:06:41 rpizero vhusbdarm[3898]: >>> Starting VirtualHere USB Server v3.3.8 (Built: Sep 5 2017, 19:51:11)<<<
Sep 17 18:06:41 rpizero vhusbdarm[3898]: Using configuration /root/config.ini
Sep 17 18:06:42 rpizero vhusbdarm[3898]: Server licensed to=unlicensed max_devices=1
Sep 17 18:06:42 rpizero vhusbdarm[3898]: Using large URB's
Sep 17 18:06:42 rpizero vhusbdarm[3898]: TCPServer starting...
Sep 17 18:06:42 rpizero vhusbdarm[3898]: Listening on all network interfaces at port 7575
Sep 17 18:06:43 rpizero vhusbdarm[3898]: Callback: #027VirtualHere USB Sharing#006_vhusb#004_tcp#005local Name Registered
Sep 17 18:06:47 rpizero vhusbdarm[3898]: Found High speed device [05ac:12a8] "Apple Inc., iPhone" at address 11
Sep 17 18:06:47 rpizero vhusbdarm[3898]: Successfully remapped and executed "cat /sys//devices/platform/soc/20980000.usb/usb1/1-1/bNumConfigurations > /sys//devices/platform/soc/20980000.usb/usb1/1-1/bConfigurationValue"
Sep 17 18:06:56 rpizero vhusbdarm[3898]: 192.168.10.110 connected
Sep 17 18:07:01 rpizero vhusbdarm[3898]: Successfully remapped and executed "cat /sys//devices/platform/soc/20980000.usb/usb1/1-1/bNumConfigurations > /sys//devices/platform/soc/20980000.usb/usb1/1-1/bConfigurationValue"
Sep 17 18:07:01 rpizero vhusbdarm[3898]: Device 11 [05ac:12a8] BOUND to connection 1
Sep 17 18:07:02 rpizero vhusbdarm[3898]: Device 11 [05ac:12a8] SURPRISE UNBOUND from connection 1
Sep 17 18:07:02 rpizero vhusbdarm[3898]: Unmanaging device 11 [05ac:12a8]
Sep 17 18:07:03 rpizero vhusbdarm[3898]: Found High speed device [05ac:12a8] "Apple Inc., iPhone" at address 11
Sep 17 18:07:11 rpizero vhusbdarm[3898]: Connection 1 remotely disconnected gracefully (rx msg size)
Sep 17 18:07:19 rpizero vhusbdarm[3898]: Connection 1 successfully removed (reason:timeout)
Sep 17 18:07:30 rpizero vhusbdarm[3898]: Successfully remapped and executed "cat /sys//devices/platform/soc/20980000.usb/usb1/1-1/bNumConfigurations > /sys//devices/platform/soc/20980000.usb/usb1/1-1/bConfigurationValue"
Sep 17 18:07:32 rpizero vhusbdarm[3898]: Unmanaging device 11 [05ac:12a8]

What can I do to get it working?
I really need to use this combo for iOS development, since my Mac is headless in the server room running latest MacOS Sierra with Xcode.

#5

Yeah, at the moment idevices via virtualhere is broken until apple fixes it

#6

Unfortunately, it seems iOS11 & Xcode 9 require an initial USB connection of the iOS device before to debug over the air, it will be great to replace that first USB connection by a signed device profile...

#7

I took a look to your stackoverflow link, does it mean the Apple TV can behave as a bridge to enable Xcode 9 to debug over the air on a iOS device without an initial USB connection on the computer ?

#8

I still have this issue, is it possible to connect to iDevice using virtualhere ?

#9

Not using mac, only linux server and windows client

#10

No solution to this yet?

#11

No

#12

I have the exact same issue with Linux ( raspi0w) and macOs Mojave (10.14.4) and iphone 7+ ios 12.3

#13

No not fixable at the moment