首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Xcode 12 Beta -找不到模拟器运行时

Xcode 12 Beta -找不到模拟器运行时
EN

Stack Overflow用户
提问于 2020-07-13 11:54:51
回答 3查看 3K关注 0票数 11

我已经安装了Xcode 12 beta 2,我试图在上通过Jenkins运行我们的xamarin项目。如果出现以下错误,它将失败。当我从构建相同的项目时,它成功了,没有任何错误。

代码语言:javascript
复制
SplashViewController.storyboard : error :
 iOS 14.0 (14.0 - 18A5319g) - com.apple.CoreSimulator.SimRuntime.iOS-14-0 (unavailable, failed to open liblaunchsim.dylib) ==> not available:
  Error Domain=com.apple.CoreSimulator.SimError Code=401 "The iOS 14.0 simulator runtime is not available."
  UserInfo={NSLocalizedDescription=The iOS 14.0 simulator runtime is not available.,
   NSUnderlyingError=0x7fef8847b520 {Error Domain=NSPOSIXErrorDomain Code=53 "Software caused connection abort"
  UserInfo={NSLocalizedFailureReason=XPC error talking to SimLaunchHostService: <error: 0x7fff97d649a0> { count = 1, transaction: 0, voucher = 0x0,_

我还使用xcrun simctl list来查看Xcode 12 beta的可用运行时模拟器。它显示了下面的列表,但是在构建时失败了。

==运行时==

代码语言:javascript
复制
iOS 14.0 (14.0 - 18A5319g) -
com.apple.CoreSimulator.SimRuntime.iOS-14-0
tvOS 14.0 (14.0 - 18J5331g) -
com.apple.CoreSimulator.SimRuntime.tvOS-14-0
watchOS 7.0 (7.0 - 18R5327h) -
com.apple.CoreSimulator.SimRuntime.watchOS-7-0

==器件==

当我打开Xcode设置并单击Components -> Simulator时,列表中没有看到iOS 14

有人能帮我解决这个问题吗?

EN

Stack Overflow用户

发布于 2020-10-16 15:08:09

此命令可以修复以下问题:

代码语言:javascript
复制
sudo xcrun simctl shutdown all && sudo xcrun simctl erase all

我在这里找到的:https://developer.apple.com/forums/thread/653807

票数 3
EN
查看全部 3 条回答
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62875323

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档