kmm ios模拟器服务版本与预期服务版本不匹配错误

Dyl*_*lan 8 ios kotlin kotlin-multiplatform-mobile

使用 kotlin-multiplatform-mobile 插件中的向导创建 kmm 应用程序后,我尝试运行 ios 模拟器并收到以下错误。

kotlin multiplatform mobile java.lang.IllegalStateException: Unsupported Xcode version 12.4, minimal supported version is 12.5.
Run Code Online (Sandbox Code Playgroud)

为了解决这个错误,我尝试更新 Xcode,给出了下面的新错误。

CoreSimulator.framework was changed while the process was running.  This is not a supported configuration and can occur if Xcode.app was updated while the process was running.  Service version (776.4) does not match expected service version (732.18.6).
Run Code Online (Sandbox Code Playgroud)

Ren*_*ida 0

我也遇到了同样的问题,重启 Android Studio 就解决了