Open losmurfs opened 8 months ago
Research: Looks like VS is being SSH to tunnel to remote the Mac.
Might be doable.
https://learn.microsoft.com/en-us/dotnet/maui/ios/pair-to-mac?view=net-maui-8.0
@losmurfs Looks like this might be possible by using a SSH tunnel and get acces to the simulator. Are you aware of a way to get more details about the SSH tunnel from VS?
@losmurfs Looks like this might be possible by using a SSH tunnel and get acces to the simulator. Are you aware of a way to get more details about the SSH tunnel from VS?
This will be identical to running on mac except the inspect app will need a way for the user to provide a host name or ip address for the mac plus the username and password for ssh. Once connected via ssh there should be no difference running against iOS Simulator on a mac vs on Windows connected to a mac over ssh
Visual Studio 2022 allows you to run iOS Simulator locally in Windows 11 if you have an Xcode Build Server (Any mac running Xcode 15.0 or greater that you've enabled remote access on and paired with Visual Studio 2022). The catch: there is no web inspector. It is just a local client getting the display and audio off of the simulator running on the mac and sending input from the local iOS Simulator Client to the iOS Simulator running on the mac.
This should be doable as even if Microsoft's iOS Simulator Client does not provide the ports that you're Web Inspector needs, you could tell us what to install/configure on the Xcode Build Server itself so that Inspect can listen into the iOS Simulator process on macOS just like Microsoft's iOS Simulator is.