Open amodaresi-archerpoint-com opened 1 week ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
Here is the log on the windows side:
Startup: arguments: --device=5AF25C35-0DD6-4776-B9C1-92E2FA8930B3 --mlaunch=/Users/anmo/Library/Caches/Xamarin/XMA/SDKs/dotnet/packs/Microsoft.iOS.Sdk/16.4.7142/tools/bin/mlaunch --launchsim=//Users/anmo/Library/Caches/Xamarin/mtbs/builds/MauiApp1/75bd00036887ea966bf7a0907c59db09c8ec5417a1f7fe67cac687fadb6d52ff/bin/Debug/net7.0-ios/iossimulator-arm64/MauiApp1.app -argument=-monodevelop-port -argument=59239 -setenv=__XAMARIN_DEBUG_PORT__=59239 --sdkroot=/Applications/Xcode_14_3.app -h=192.168.1.251 -ssh=My Name version: 17.6.0.524 (6fbf037fe377bc629637183dd5ac69df8194404f) Connection state changed: State: Connecting SSH Connect: target: 192.168.1.251 Using SSH pass phrase SSH connected Connection state changed: State: SshConnected Connection state changed: State: CheckingServer Connection state changed: State: SettingUpServer Starting server [Server] ready:60408 Connection state changed: State: Connecting Connection state changed: State: CheckingServer Connection state changed: State: Connected Connection state changed: State: Disconnected
I found a workaround, kind of. If I disable "remote simulator to windows" in options/xamarin/ios settings, at least the simulator launches on the mac. Reverting back, creates the problem again, the simulator won't launch in windows.
Thanks for the issue report @amodaresi-archerpoint-com! This issue appears to be a problem with Visual Studio, so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS.
If you encounter a problem with Visual Studio, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
Thanks for the issue report @amodaresi-archerpoint-com! This issue appears to be a problem with Visual Studio (Code), so we ask that you use the VS feedback tool to report the issue. That way it will get to the routed to the team that owns this experience in VS (Code).
If you encounter a problem with Visual Studio or the .NET MAUI VS Code Extension, we want to know about it so that we can diagnose and fix it. By using the Report a Problem tool, you can collect detailed information about the problem, and send it to Microsoft with just a few button clicks.
Hi @PureWeen I don't see why this would be a VS issue, specifically part of the stack trace is by Xamarin.Simulator.Server.SimulatorServer.BuildCapabilities unless you care to explain further
@amodaresi-archerpoint-com The MAUI team doesn't maintain this tooling, Visual Studio does. The MAUI team can't fix this and it's unrelated to what they work on.
I am the person maintaining that tooling at the moment. Yes, you should file that issue through VSFeedback, and I can look at it when I can.
Description
I have a setup with Visual Studio 2022/net8/windows11 and a Macbook Pro M3 with xcode 15.4 and mono framework, Running Hello world on net 8 works great. Visual studio pairs to Mac, compiles, links and runs the ios simulators nicely.
I need to run net7. For this purpose I have installed xcode 14.3 as well in the mac /Applications folder. Added the alternative path to visual studio. Visual studio then compiles, links and attempts to run the simulator. It goes into a connecting, checking server, connected loop. I did try the suggested remedy in https://learn.microsoft.com/en-us/dotnet/maui/ios/remote-simulator?view=net-maui-8.0#troubleshooting without success
For every loop, I get a new file in the ~/Library/Logs/Xamarin/Simulator.Server folder. The content of the file is a null pointer reference exception (see attached file) Running the same simulator on mac with xcode 14.3 works just fine.
Simulator.Server.2024-06-26__09-47-35-2555.log
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
tried simulators ios 16.4 and 17.5
Did you find any workaround?
No
Relevant log output