FlexiHub is a USB redirection tool that gives VirtualBox access to an iPhone even when the VM's built-in USB passthrough doesn't recognize the device. It works by redirecting the iPhone's USB connection over the network, so VirtualBox sees the device as if it were plugged in directly, even when the iPhone is connected to a completely different computer.
This solves two separate problems. It fixes cases where VirtualBox fails to detect an iPhone at all, and it removes the requirement that the iPhone be physically connected to the machine running VirtualBox, since FlexiHub works over any IP-based network, local or over the internet.
FlexiHub isn't limited to VirtualBox. The same redirection method works with VMware, Hyper-V, and other virtualization platforms, and with iPads and other iOS devices, not just iPhones.
Note: How we tested this
We connected an iPhone 15 Pro (iOS 26.2) to a Windows 11 Pro machine over USB-C, with FlexiHub installed on that host and on a macOS Sequoia 15.6 VM in VirtualBox 7.2.4. With FlexiHub running on both sides, the iPhone redirected into the macOS guest and Xcode 26.2 could see and build to it normally.
Running macOS in VirtualBox on non-Apple hardware isn't an Apple-supported configuration. It worked here, but falls outside Apple's own licensing terms.