macOS on VMware doesn't recognize iOS device

后端 未结 9 1861
囚心锁ツ
囚心锁ツ 2020-12-12 11:38

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

相关标签:
9条回答
  • 2020-12-12 12:03

    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.

    0 讨论(0)
  • 2020-12-12 12:06

    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.

    0 讨论(0)
  • 2020-12-12 12:08

    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:

    1. In vmware.log search the vid & pid of your iphone USB:
      Example:

      vmx | USB: Found device [name:Apple\ IR\ Receiver vid:05ac pid:12a8
      
    2. Close vmware (to unlock .vmx)

    3. 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"
      
    4. 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

    5. Launch Mac OS and make sure that the mouse is Focus on vmware (or just use the login prompt if it appear)

    0 讨论(0)
  • 2020-12-12 12:08

    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.

    1. Go to Start Menu.
    2. Open VMWare folder.
    3. Start VMWare Network Editor.
    4. Click Change Settings button to assign Administrator privileges.
    5. Click Restore Defaults button.
    6. Open Virtual Machine.
    7. Verify internet connectivity on Mac OS.
    8. Connect iOS device. If iTunes launches on Mac, this means that the Mac has correctly identified your iOS device.
    0 讨论(0)
  • 2020-12-12 12:10

    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.)

    1. Open VMWare.
    2. select your OS. (Mine is MacOS Sierra)
    3. Then In left hand side, Select option "Edit virtual machine settings"
    4. There will be one popup of setting. In that you need to select "Hardware" Tab.
    5. In that, there is option "USB Controller". Select that. You will find option right hand side.
    6. In that, Set USB compatibility as "USB 2.0" and check all 3 options as selected. options must be as following: i) Automatically connect new USB devices, ii) Show all USB input devices, iii) Share Bluetooth devices with the virtual machine
    7. Press OK.

    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.

    0 讨论(0)
  • 2020-12-12 12:12

    I had the same issue, but was quite easy to solve. Follow the next steps:

    1) In the Virtual Machine (VMWare) settings:

    • Set the USB compatibility to be 2.0 instead of 3.0
    • Check the setting "Show all USB input devices"

    2) Add the device into the list of allowed development devices in your Apple Developer's account. Without that step there is no way to use your device in Xcode.

    Next some instructions: Register a single device

    0 讨论(0)
提交回复
热议问题