I have just updated my iMac to Sequoia. I also updated Xcode to the new version containing iOS 18. However, Sequoia doesn’t work with MAUI. Now I can’t try my apps on iOS. It is still working for macOS.
After this update, neither Visual Studio for Mac nor Visual Studio on Windows can see the list of iOS simulators. So, now, I can’t test my app.
There is no update for Visual Studio; Visual Studio Code is not working for MAUI as usual. With Visual Studio for Mac I can run the application for macOS and Android but not for iOS (and the Generic Simulator doesn’t do anything.
From Visual Studio, when I try to connect my iMac, I get a different error.
Object reference not set to an instance of an object.
I opened Xcode and agreed on all the licenses. It is getting difficult and difficult to work with MAUI…
Visual Studio update
Today, Microsoft released the Visual Studio 17.11.4. This version can connect to the iMac but I can’t see the list of simulators for iOS.
Check this solution
After a long search, I found this workaround by looking at the GitHub page for Xamarin. So, log on to the Apple Developer Account and scroll down to this point. By the way, all the links are to the Apple Developer portal on the right page. I describe the journey for reference.
Now, click on Get the latest tools and beta SDKs and you should see this page. In the section after the title, you find a link to Install Apple Beta Software.
Clicking on this link, you go to the page “Installing and using Apple beta software“. You see a menu on the left side. From this menu, click on Xcode beta.
Then, you jump to the section Xcode beta and then click on the link View Xcode betas.
Now, you see the page called More Download and here there are a lot of tools and downloads. For the purpose of running an MAUI application, I’m looking for a particular one.
What we are looking for is Xcode beta version 16.0 from June (Simulator 16.0 – 1033) and the corresponding Command Line Tool for Xcode 16 beta (16A5171c). For your convenience, here are the links:
For your information, I tried the newest versions of Xcode but they don’t seem working. At the time I’m writing this post, the latest version of Xcode is 16.1 beta 2 but it is not working with MAUI.
Wrap up
I hope this post can help you with your MacOS update to Sequoia because it doesn’t work with MAUI and Visual Studio for Windows or Mac (although is dismissed). Please let me know if you have any questions or I can help you.