I'm new to .NET MAUI and I'm experimenting with a MAUI Blazor App. However, I'm having no luck getting it to debug on iOS.
If I have my physical iPhone plugged into my windows machine or my mac on the local network, and try to debug with the local device, I just get this message:
If I try to use iOS simulator it brings up a prompt to pair to the MAC. I've followed the guide to enable local sharing and configure the firewall. It seems to connect, I get the username and password prompt, but after some progress indication it halts with the following error:
An error occurred while trying to connect to the Broker... Probed locations for Mono on the Server: mono64, /Library/Frameworks/Mono.framework/Versions/Current/bin/mono64, /usr/bin/mono64, /bin/mono64, /usr/local/bin/mono64, /usr/sbin/mono64, /sbin/mono64, /Users/matthewpaul/Library/Caches/Xamarin/XMA/Runtimes/mono/bin/mono64, mono, /Library/Frameworks/Mono.framework/Versions/Current/bin/mono, /usr/bin/mono, /bin/mono, /usr/local/bin/mono, /usr/sbin/mono, /sbin/mono, /Users/matthewpaul/Library/Caches/Xamarin/XMA/Runtimes/mono/bin/mono
Any pointers on how I might get either/both the local device and simulator working?
CodePudding user response:
Visual studio has to be open on both sides and xcode too on Mac.
You have to use the same account on mac and on windows.
That's what I had to do to use the sim.
You can follow the same guide I did:
Or free provisioning if you don't:
More general info here:
https://docs.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/