macOS on VMware doesn't recognize iOS device

后端 未结 9 1884
囚心锁ツ
囚心锁ツ 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: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.

提交回复
热议问题