【发布时间】:2019-12-07 23:39:31
【问题描述】:
在 Catalina beta 4 上运行的 Xcode 11 beta 5 中打开未更改的 SwiftUI“Hello World”项目会产生“加载插件失败”对话框警告。
有其他人遇到过这种情况或知道如何解决吗?我删除了 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";
}
--
【问题讨论】:
-
注释基本上只说画布预览的丢失。 Catalina 5 尚不可用。我在问是否有其他人经历过它并表示我通过删除一个模块来解决它。再次询问是否有其他人经历过,以便我知道它与我的环境无关。
-
Apple 的声明非常含糊,并没有告诉我太多。谢谢你的意见,问是一样的。
-
它在哪里说“不支持”与“知道问题”不同。我阅读了已知问题列表,但未列出。所以我不能问这个问题吗?哇
-
你可以问它,当然(尽管问它的方式是指定你正在运行的系统,以及 Xcode 测试版)。我只是建议知道这里是否存在真正问题的唯一方法是在它们都处于 beta 5 时尝试它。Mojave 上的 Xcode beta 5 肯定没有这样的问题,所以很有可能阻抗不匹配是有责任的。
-
更新到 Catelina beta 5 后,错误没有消失。