macOS on VMware doesn't recognize iOS device

后端 未结 9 1862
囚心锁ツ
囚心锁ツ 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条回答
  • 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:

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

    2. Make sure your phone is plugged in, and turned off.

    3. Boot up the VM, macOS.

    4. Turn Phone on when mac is booted

    5. Open Xcode

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

    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:


    To add quirks:
    1. Shut down the virtual machine and quit Workstation/Fusion.

      Caution: Do not skip this step.
       
    2. Open the vmware.log file within the virtual machine bundle. For more information, see Locating a virtual machine bundle in VMware Workstation/Fusion (1007599).
    3. In the Filter box at the top of the Console window, enter the name of the device manufacturer.

      For example, if you enter the name Apple, you see a line that looks similar to:

      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.
       

    4. Open the .vmx file using a text editor. For more information, see Editing the .vmx file for your Workstation/Fusion virtual machine (1014782).
    5. Add this line to the .vmx file, replacing vid and pid with the values noted in Step 2, each prefixed by the number 0 and the letter x .

      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"
       

    6. Save the .vmx file.
    7. Re-open Workstation/Fusion. The edited .vmx file is reloaded with the changes.
    8. Start the virtual machine, and connect the device.
    9. If the issue is not resolved, replace the quirks line added in Step 4 with one of these lines, in the order provided, and repeat Steps 5 to 8:
    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:

    • Use one of these lines at a time. If one does not work, replace it with another one in the list. Do not add more than one of these in the .vmx file at a time.
    • The last line uses all three quirks in combination. Use this only if the other three lines do not work.

    Refer this to see in detail.

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

    Here is another thing to try (I'm using Windows 10):

    1. Stop the VM.
    2. Open Start.
    3. Type "Services".
    4. Find VMWare USB Arbitration Service and start it.
    5. Connect your device and hopefully, it will be detected.

    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.

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