首页 > 解决方案 > 如何解决“macOS 10.15.99 之后的主机不支持 iOS 模拟器运行时”。

问题描述

iOS 10.3.1 和 11.0.1 运行时在更新到 macOS Big Sur (11.2.1) 后变得不可用。我正在使用 Xcode 12.4。

这就是我从中得到的xcrun simctl list runtimes

== Runtimes ==
iOS 10.3 (10.3.1 - 14E8301) - com.apple.CoreSimulator.SimRuntime.iOS-10-3 (unavailable, The iOS 10.3 simulator runtime is not supported on hosts after macOS 10.15.99.)
iOS 11.0 (11.0.1 - 15A8401) - com.apple.CoreSimulator.SimRuntime.iOS-11-0 (unavailable, The iOS 11.0 simulator runtime is not supported on hosts after macOS 10.15.99.)
iOS 12.4 (12.4 - 16G73) - com.apple.CoreSimulator.SimRuntime.iOS-12-4
iOS 14.2 (14.2 - 18B79) - com.apple.CoreSimulator.SimRuntime.iOS-14-2

根据https://developer.apple.com/support/xcode/中支持的 SDK 部分,它指出 Big Sur 上的 Xcode 12.4 支持 iOS Simulator 10.3.1 - 14.4。所以这应该是一个错误。我该如何解决这个问题?

编辑1:

我已经尝试过 Xcode 12.2 和 Xcode 12.5(测试版),但问题仍然存在。

标签: iosxcodemacossimulatormacos-big-sur

解决方案


推荐阅读