我已经安装了Xcode 12 beta 2,我试图在上通过Jenkins运行我们的xamarin项目。如果出现以下错误,它将失败。当我从构建相同的项目时,它成功了,没有任何错误。
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的可用运行时模拟器。它显示了下面的列表,但是在构建时失败了。
==运行时==
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:
有人能帮我解决这个问题吗?
发布于 2020-10-16 15:08:09
此命令可以修复以下问题:
sudo xcrun simctl shutdown all && sudo xcrun simctl erase allhttps://stackoverflow.com/questions/62875323
复制相似问题