gpt4 book ai didi

Xcode 11 Beta 5 - 加载插件失败

转载 作者:行者123 更新时间:2023-12-02 21:31:12 28 4
gpt4 key购买 nike

在 Catalina beta 4 上运行的 Xcode 11 beta 5 中打开未更改的 SwiftUI“Hello World”项目会产生“加载插件失败”对话框警告。

enter image description here

有其他人经历过这种情况或者知道如何解决吗?我删除了 Xcode,重新下载,重新安装,但仍然遇到相同的错误。

除了删除有问题的模块之外,不知道如何修复,但这是不对的。

错误详细信息:详情

Loading a plug-in failed.
Domain: DVTPlugInErrorDomain
Code: 2
Failure Reason: The plug-in “com.apple.dt.UVKit” at path “/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework” could not be loaded. The plug-in or one of its prerequisite plug-ins may be missing or damaged.
Recovery Suggestion: The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.
User Info: {
DVTPlugInDYLDErrorMessageErrorKey = "dlopen(/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit, 0): Symbol not found: _$s2IDs12IdentifiablePTl\n Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit\n Expected in: /usr/lib/swift/libswiftCore.dylib\n in /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
DVTPlugInExecutablePathErrorKey = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
DVTPlugInIdentifierErrorKey = "com.apple.dt.UVKit";
NSFilePath = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework";
}
--
The bundle “UVKit” couldn’t be loaded.
Domain: NSCocoaErrorDomain
Code: 3588
Failure Reason: The bundle couldn’t be loaded.
Recovery Suggestion: Try reinstalling the bundle.
User Info: {
NSBundlePath = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework";
NSDebugDescription = "dlopen(/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit, 265): Symbol not found: _$s2IDs12IdentifiablePTl\n Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit\n Expected in: /usr/lib/swift/libswiftCore.dylib\n in /Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
NSFilePath = "/Applications/Xcode-beta.app/Contents/PlugIns/UVKit.framework/UVKit";
}
--

最佳答案

我能够使用 Xcode beta 5 在 Catalina beta 4 上运行我的 SwiftUI 项目。我也收到了 OP 提到的警告。

正如评论中提到的,我看到的唯一负面影响是无法使用预览 Canvas 。除此之外,我的项目中的其他一切都运行良好。只是更多地使用模拟器;)

关于Xcode 11 Beta 5 - 加载插件失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57274032/

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