简体   繁体   中英

In Visual Studio for MacOS, how do I get the iOS simulators to show in dropdown list?

I'm running Xcode 14.0 and Visual Studio for Mac, 17.3.5. The simulators don't show up in the dropdown menu where you can select the device you're using to run the app. I've verified that the Preferences | Apple SDK is pointed at Xcode.app, and that Xcode is located in the Applications folder. Why are the simulators not showing, and how can I fix it. Also: when I plug in a phone via USB, VS does successfully see the phone.

As Jason suggested, XCode 14 is not yet supported in Xamarin.iOS or .NET MAUI , you need downgrade your Xcode version to 13.4.1 and could download it from the downloads page in the Apple Developer Portal. For more information, you can refer to https://github.com/xamarin/xamarin-macios/issues/15954

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM