sickcodes / Docker-OSX

Run macOS VM in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X Security Research! Docker mac Containers.
https://hub.docker.com/r/sickcodes/docker-osx
GNU General Public License v3.0
36.07k stars 1.78k forks source link

iPhone is busy: Making the device ready for development WSL2 + Ubuntu 22.04 + Ventura + USBFLUXD #654

Open prashant3285 opened 1 year ago

prashant3285 commented 1 year ago

I am able to get the logs of iPhone on Ventura (idevicesyslog) On XCode iPhone is detected, but it is stuck on - iPhone is busy Tried to detach and re-attach + Trust the device on Xcode, but it doesn't work. Tried on Monterey and Ventura, with same result.

Used this guide USBFLUXD: https://github.com/sickcodes/Docker-OSX#usbfluxd-iphone-usb---network-style-passthrough-osx-kvm-docker-osx

My Configuration Win 11 WSL 2 - Ubuntu 22.04

docker run -it \ --device /dev/kvm \ -p 50922:10022 \ -p 5999:5999 \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e RAM=6 \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -e GENERATE_UNIQUE=true \ -e WIDTH=1600 -e HEIGHT=900 \ -e MASTER_PLIST_URL='https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist' \ sickcodes/docker-osx:ventura

Please suggest solution or confirm if USB passthrough not possible with WSL2

edfloreshz commented 9 months ago

I also managed to get USB pass-through working, however, Xcode did not detect my iPhone, it was detected using idevicesyslog tho.

KoksalBerkay commented 7 months ago

I have the same issue on Monterey

KernelInterrupt commented 1 month ago

I have the same issue.It seems usbfluxd has some problems with XCode. But it’s strange that some closed-source software like USB network gate works well.When I use them,XCode detected my iPhone and quickly made the device ready for development.