Min*_*int 6 ios-simulator swiftui xcode11
我安装了Xcode-11-beta和macOS 10.15 beta。一开始我可以SwiftUI preview正常玩。但是,当我尝试将Xcode-beta从~/Downloads最初安装它的目录移动到时/Applications,无法使用预览。这是错误:
因此,我将其移回~/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
Run Code Online (Sandbox Code Playgroud)
rus*_*hop 13
CoreSimulator当前不喜欢将simruntime包从其下面移出。通过从中启动~/Downloads就知道了iOS.simruntime适用于iOS 13的,然后您将其移动。
在这种特定情况下,您可以通过kill解决该问题com.apple.CoreSimulator.CoreSimulatorService。
| 归档时间: |
|
| 查看次数: |
4010 次 |
| 最近记录: |