gpt4 book ai didi

ios - iOS 13.0模拟器运行时不可用

转载 作者:行者123 更新时间:2023-12-02 15:27:38 25 4
gpt4 key购买 nike

我安装了 Xcode-11-beta 和 macOS 10.15 beta。起初我可以正常使用 SwiftUI 预览版。但是当我尝试将 Xcode-beta 从最初安装的 ~/Downloads 目录移动到 /Applications 后,预览无法工作。这是错误:

enter image description here

所以我把它移回~/Downloads,希望一切能像以前一样顺利。但它给出了同样的错误。

之后我重新安装了它,但仍然出现此错误。谁能帮我解决这个问题吗?

诊断报告内容是这样的:

== DATE:

Wednesday, June 5, 2019 at 10:25:46 PM China Standard Time



== PENDING U

PDATE REASONS:





== PREVIEW UPDATE ERROR:

unexpected error occurred

Error Domain=com.apple.CoreSimulator.SimError Code=161 "The iOS 13.0 simulator runtime is not available." UserInfo={NSLocalizedRecoverySuggestion=Download the iOS 13.0 simulator runtime from the Components section in Xcode's Preferences., NSLocalizedFailureReason=runtime path not found, NSLocalizedDescription=The iOS 13.0 simulator runtime is not available.}



== VERSION INFO:

Tools: 11M336w

OS: 19A471t



== ENVIRONMENT:

[x] In valid workspace
[x] Project is using the new build system
Previews are available for targets that are built with the new build system. Change your project to use the new build system.
[x] Selected scheme (Landmarks)
Select a scheme from the scheme picker in the toolbar
[x] Selected run destination (iPhone 8)
Select a run destination from the scheme picker in the toolbar
[x] Have workspace arena
Try quitting and reopening your workspace
[x] Have build arena
Try quitting and reopening your workspace
[x] Open file has supported build settings

最佳答案

CoreSimulator 目前不喜欢 simruntime捆扎物从其下方移出。通过从 ~/Downloads 启动它意识到iOS.simruntime对于 iOS 13,那么您就移动了它。

在这种特定情况下,您可以通过杀死 com.apple.CoreSimulator.CoreSimulatorService 来解决该问题.

关于ios - iOS 13.0模拟器运行时不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56462769/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com