简体   繁体   English

无法在 Xamarin 上运行 iOS 16 模拟器

[英]Can't run iOS 16 simulator on Xamarin

I downloaded Xcode 14 beta and I have my Visual Studio pointing to that as the SDK location.我下载了 Xcode 14 beta,我的 Visual Studio 将其指向为 SDK 位置。 I don't see any simulators to run in the drop down.我没有在下拉菜单中看到任何要运行的模拟器。 Using VS Mac 2022 fully updated.使用 VS Mac 2022 完全更新。 I did notice in the simulator drop down for 'iOS Simulators: Lower the deployment target to see the older target or check your Apple SDK Path'.我确实在模拟器下拉菜单中注意到“iOS 模拟器:降低部署目标以查看旧目标或检查您的 Apple SDK 路径”。

Am I missing something?我错过了什么吗?

Same issue here, the only alternative that I found is to deploy the application on a physical device that runs iOS 16 beta version and test it.同样的问题,我发现的唯一替代方法是将应用程序部署在运行 iOS 16 beta 版本的物理设备上并对其进行测试。

There doesn't appear to be an official Visual Studio/Xamarin.iOS update out yet that supports iOS 16 and XCode 14 which I believe will be first available on the preview channel.似乎还没有支持 iOS 16 和 XCode 14 的官方 Visual Studio/Xamarin.iOS 更新,我相信这将首先在频道预览中提供。 According to this, this situation is not entirely unexpected: https://github.com/xamarin/xamarin-macios/wiki/Xcode-Summer-Expectations although like you, there are issues with our Xamarin app in iOS 16 that need to be addressed, and I am anxiously awaiting official support. According to this, this situation is not entirely unexpected: https://github.com/xamarin/xamarin-macios/wiki/Xcode-Summer-Expectations although like you, there are issues with our Xamarin app in iOS 16 that need to be已解决,我正在焦急地等待官方支持。

If you need to get the simulator running you can follow the advice here: https://github.com/xamarin/xamarin-macios/issues/15581 and download the PKG-Xamarin.iOS-notorizied.pkg package on the the xcode14 branch of xamarin-macios https://github.com/xamarin/xamarin-macios/commits/xcode14 Once I installed the pkg, the simulators were available.如果您需要运行模拟器,您可以按照此处的建议进行操作: https://github.com/xamarin/xamarin-macios/issues/15581并下载 PKG-Xamarin.iOS-notorizied.pkg package 分支上的 xcode xamarin-macios https://github.com/xamarin/xamarin-macios/commits/xcode14安装 pkg 后,模拟器就可用了。 It is worth noting that you also need to have the xcode 14 beta installed, and may need to change your SDK path in Visual Studio to the xcode 14 beta.值得注意的是,您还需要安装 xcode 14 beta,并且可能需要将 Visual Studio 中的 SDK 路径更改为 xcode 14 beta。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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