After MacOS update Visual Studio stopped building .NET MAUI iOS project using paired Mac computer. The following error reported:
The operation couldn’t be completed. Failed to locate any simulator runtime matching options: {
BuildVersionString = 21E210;
Platforms = (
"com.apple.platform.iphonesimulator"
);
VersionString = "17.4";
}
How can I fix this issue?
The accepted answer may download simulators for platforms you don't need like WatchOS. A more refined approach is to load XCode to the XCode menu -> Settings -> Platforms and install the missing simulator(s).
I also removed about 20GB of simulators I didn't need which was a nice bonus.