I am using Mac OS in VMWare for iOS app development.
After updating the OS and Xcode, the iOS device isn't available so I cannot test it.
When the device is plugged in to the PC, the device appears as connected in VMware and marked with green point. But, it does not appear in Xcode's devices.
I am using Mac OS 10.11. Does anybody have ideas?
This solution for Ubuntu Host, Macos Guest
Disabling SIP
Finally, disable HiDPI:
$ sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool NO
I met the same problem. I found the solution in the solution from kb.vmware.com.
It works for me by adding
usb.quirks.device0 = "0xvid:0xpid skip-refresh"
Detail as below:
vmx | USB: Found device [name:Apple\ IR\ Receiver vid:05ac pid:8240 path:13/7/2 speed:full family:hid]
The line has the name of the USB device and its vid and pid information. Make a note of the vid and pid values.
usb.quirks.device0 = "0xvid:0xpid skip-reset"
For example, for the Apple device found in step 2, this line is:
usb.quirks.device0 = "0x05ac:0x8240 skip-reset"
usb.quirks.device0 = "0xvid:0xpid skip-refresh"
usb.quirks.device0 = "0xvid:0xpid skip-setconfig"
usb.quirks.device0 = "0xvid:0xpid skip-reset, skip-refresh, skip-setconfig"
Notes:
Refer this to see in detail.
The other answer is lacking some additional information also in the following post. For example, when the iPhone keep Connect / Disconnect in loop. So here is a better solution:
In vmware.log
search the vid & pid of your iphone USB:
Example:
vmx | USB: Found device [name:Apple\ IR\ Receiver vid:05ac pid:12a8
Close vmware (to unlock .vmx
)
In the .vmx
, add:
usb.quirks.device0 = "0xvid:0xpid skip-reset, skip-refresh, skip-setconfig"
Replace 0xvid:0xpid
by the vid & pid found in vmware.log
. Example:
usb.quirks.device0 = "0x05ac:0x12a8 skip-reset, skip-refresh, skip-setconfig"
In vmware > Edit virtual machine > USB Controller :
USB compatibility : USB 2.0
Active : Automatically connect new USB Devices
Active : Show all USB input devices
Active : Share Bluetooth devices with the virtual Machine
Launch Mac OS and make sure that the mouse is Focus on vmware (or just use the login prompt if it appear)
I would like to add something.
For the devices to work in your Mac you have to make sure that they are connected to it. I don't know how this is handled in other versions but I am using VMware Workstation 12 Player
If you go to Player (Top left corner) > Removable Devices > Enable the device
you want
Thats what i had to do.
I have 2 computers with VMWare Workstation and Mac OS Sierra installed as the guest OS. First machine could recognize my iOS device whereas my second machine could not recognize it. The second machine was exhibiting the same behavior as others reported where it would reconnect and disconnect with the iPhone endlessly.
Thankfully, my second machine had network connectivity problems with my VM. So I stumbled upon the solution when I reset my network settings for the VM.
You can try the following steps and see if it works for you. It worked for me.
I had same issue with VMWare 12.5.2 and OS: Mac OS Sierra.
These are few steps to solve this issue:(which worked for me.)
There you go. It will work. Now you can power on your virtual machine.And try to connect your device with proper USB cable. Sometimes there can be issue with USB cable which are not authorized. Still if you have doubt, you can ask me here.
I am running an Iphone 8+ and VMWare macOS High Sierra on a Windows 10 machine.
I went through dozens of troubleshooting posts, and the none of them, excluding setting your VMs USBs to 2.0, helped. Through trial and error, and a decent amount of liquor, I have figured it out.
SOLUTION:
Do these things, in this order:
With the VM off, go to your settings for whichever machine you're using, and change the USBs to 2.0. You can find this in the same menu that you allocated your ram and cores
Make sure your phone is plugged in, and turned off.
Boot up the VM, macOS.
Turn Phone on when mac is booted
Open Xcode
Do what is suggested in the answer, but make sure you also click inside the VM
so that OSX has the focus before you plug in the phone. In my case, I had to do that to make it work.
Here is another thing to try (I'm using Windows 10):
This is what worked for me. I have no idea why the service wasn't started in the first place and it used to work fine with my IPhone 7. Good luck.
If you went throught alot of pain installing macos on vmware I recommend this tutorial which also provides you with all the file you need. it's straight forward tutorial and works all the way without any problem.
Source: Stackoverflow.com