IOS – Cannot pair the iPhone with Xcode

iosmacosvmwarexcode

I am running Xcode 10.3 and I have an iPhone 6s running iOS 12.4. I am unable to connect it to Xcode, which is running atop macOS Mojave running on a VMWare virtual machine.

I got "trust this device" in windows and i can see my device in iTunes in windows. But still cant see it in macos iTunes. Everything has latest versions and my firewall in macos mojave is not on.

Best Answer

In VMware you have to connect the iPhone as a USB device to the guest virtual machine.

This is usually done from the VMware menu item VM => Removable Devices, where you can select your iPhone. The actual naming of the menu depends on which version of VMware you're using (i.e. VMware Workstation on Windows, VMware Fusion on macOS, or whatever).