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
48.63k stars 2.71k forks source link

iPhone not recognized in Xcode #750

Open GTTorres04 opened 8 months ago

GTTorres04 commented 8 months ago

What i have been doing: I have been trying to make the iPhone recognized by the Xcode in Docker-OSX in order to create an app.

Issue:

The iPhone is recognized on the host computer. I'm following the usbfluxd tutorial and inside the MacOS I know that the device is being recognized by the OS because when I type in the terminal: sudo su and then ideviceinfo, the information of the iphone appears on the screen. However, when i go to System Information > Hardware > USB, the iPhone doesn't appear as connected to the usb port. I also clicked on the Trust this device when it was prompted on the iPhone. When I open Xcode, if i go to Window then Devices and Simulators and then click the + it gives me the following message: No devices found, witch is strange because apparently the device is recognized by the MacOS but not recognized by the Xcode app.

Another strange thing I found is that when the information about the iPhone is being displayed, in the line that says ProductType it shows iPhone 14.2 when the model is an iPhone 13 Pro.

I've tried resetting the iPhone, reseting the Docker-OSX, watching other tutorials in order to solve the problem but nothing worked so far...

Other relevant informations:

This might be a possible solution but I am not understanding what I am supposed to do.

sickcodes commented 7 months ago

I made a video about usbfluxd here: https://www.youtube.com/watch?v=kTk5fGjK_PM

AyOhEe commented 3 weeks ago

Still an issue. Successfully running Sonoma 14.5 and XCode 16.1, and via usbfluxd an iPhone 16 Pro running iOS 18.1 appears in finder and is correctly detailed by ideviceinfo, but isn't recognised by XCode or xcrun devicectl list devices.

hello112334 commented 2 weeks ago

same issue with Ventura 13.7.1 Xcode 15.2 IPhone SE(2nd) IOS 18.0. got information successfully from ideviceinfo . And I found the connected device show in

% xcrun xctrace list devices
== Devices ==
xxx's iMac Pro (xxx-xxx)

== Devices Offline ==
iPhone (18.0.1) (xxx-xxx)

== Simulators ==
...

but

% xcrun devicectl list devices
No devices found.