I have been trying to connect an iPhone to Mac OS High Sierra, I've installed on VirtualBox for testing swift app I am trying to develop. However, even I connect the phone to the USB, I can't select the phone from the devices.The message in the device section says that No device connected to the mac.
So I have following questions, 1)Is it even possible to deploy and test iPhone app from mac os hosted on VirtualBox? and how to do it? 2)Are there any alternatives VMs to VirtualBox that allows me to connect my iPhone to virtual mac os for development purposes?
Thank you.
After the VM finishes its startup, connect your iPhone to a free USB port of the host computer. Then, select “Devices” in your guest OS menu bar, navigate to “USB” and select your iPhone to share it with the virtual machine. Once you click on the selected device, it gets mounted to the VirtualBox guest OS.
Yes. It surely is possible to run iOS on PC using a virtual box or there are some applications like iPadian which you can download and use them directly with out much effort of all virtual box and stuff. … Surely some versions of MacOs and iOS will run without errors on Virtual box.
I've tried all the above solutions but still, my macOS on the virtual box wasn't able to recognize my physical iOS device.
For me somehow simply turning on USB tethering on my iOS device worked.
- From the Home screen, tap Settings > Personal Hotspot. If you don't see Personal Hotspot, tap Carrier and you will see it.
- Tap the switch next to Personal Hotspot to turn on.
- Connect your device to the computer using the USB cable.
- The device will automatically begin tethering after syncing is complete.
First of all you need the Virtualbox Extension Pack.
The Extensions Pack for Virtualbox allows you to use USB devices. First download the file, called "Oracle_VM_VirtualBox_Extension_Pack-4.1.6-74713.vbox-extpack", from the Virtualbox website Download here. Then open up Virtualbox and open "Preferences" from the File menu. Go to Extensions and add the extensions file. If you're using Ubuntu, you'll need to go one step further and add your user account to the "vboxusers" group. Open the System Settings from the launcher, then go to "Users and Groups." Once there, click "Manage Groups." Reboot your system.
Setting Up USB Plug your iPhone into your computer and open up Virtualbox. Choose the machine that you want to use your iPhone with and open up the machine settings. In the left pane click the option "USB." Make sure that "Enable USB Controller" and "Enable USB 2.0 (EHCI) Controller" are both selected. Click the "Add" button on the right side of the window, which looks like a USB plug with a green plus sign, and select the iPhone. Click "OK" to close settings.
Using Your iPhone Once you've set up the USB, start your virtual machine. In the Title bar, you will see the "Devices" menu; click this and go to "USB Devices." Select your iPhone to mount it to your virtual machine. Once mounted, you can use the iPhone as you would if you were using your native OS. You can install your APP via XCode now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With