Now XCode version is 12.2 and the error message related to the developer profile is gone. I uninstalled XCode 12.3 and Visual Studio and installed previous versions. Some time ago my XCode and Visual Studio were automatically updated to 12.3 and I start getting errors related to missing developer profile. Checked Solution options, Project settings.
#Mac os ios emulator how to#
But when I work directly on MacBook, and run Visual Studio for Mac, there's only one (grayed) simulator available and I have no idea how to change it. When I pair my MacBook with PC, I have a list of iOS simulators available in Visual Studio 2019 ( on Windows). Eventually, spotlight should learn and make the alias the top choice so you can skip this step.How can I change default iOS simulator on Visual Studio for Mac?
Here's the solution that works well for me, and should work with any OS X and XCode versions. Not all of them address what is my number one issue, and what seems to be the asker's priority, as well: The ability to launch from Spotlight.
It will be at one of the following paths depending on your version of Xcode (oldest to newest): So instead you'll have to navigate to it in a separate Finder window and drag it onto the file selector window.
(Xcode 6+): $ alias simulator='open /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app' (Xcode 6+): $ ln -s /Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app ~/DesktopĪs pointed out by you could also add an alias to your ~/.bash_profile: $ alias simulator='open /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/Applications/iPhone\ Simulator.app' You could create a symbolic-link from your Desktop to make this easier: $ ln -s /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/Applications/iPhone\ Simulator.app ~/Desktop (Xcode 6+): $ open /Applications/Xcode.app/Contents/Developer/Applications/iOS Simulator.app Assuming you have Xcode installed in /Applications, then you can do this from the command line to start the iPhone Simulator: $ open /Applications/Xcode.app/Contents/Developer/Platforms/atform/Developer/Applications/iPhone\ Simulator.app