【发布时间】:2020-07-23 22:29:57
【问题描述】:
当我尝试在 Xcode 的 Canvas 窗口中预览我的 SwiftUI 视图时,我的项目构建成功,但我在 Canvas 窗口中收到以下错误:
UVIntegration.DTXMessageError.messageRepliedWithError("正在连接到 启动交互式代理 6310",可选(错误 域=com.apple.dt.ultraviolet.service 代码=17 "connectToPreviewHost: 无法连接到 6310:错误 Domain=RemoteBundleLoaderError Code=17 "加载库失败 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号” UserInfo={NSLocalizedDescription=加载库失败 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号}" UserInfo={NSLocalizedDescription=connectToPreviewHost: 失败 连接到 6310:错误域=RemoteBundleLoaderError Code=17“失败 加载库 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号” UserInfo={NSLocalizedDescription=加载库失败 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号}})))
GenericHumanReadableError:发生意外错误 messageRepliedWithError("正在连接已启动的交互式代理 6310",可选(错误域=com.apple.dt.xcodepreviews.service Code=17 "connectToPreviewHost: 无法连接到 6310: 错误 Domain=RemoteBundleLoaderError Code=17 "加载库失败 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号” UserInfo={NSLocalizedDescription=加载库失败 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号}" UserInfo={NSLocalizedDescription=connectToPreviewHost: 失败 连接到 6310:错误域=RemoteBundleLoaderError Code=17“失败 加载库 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号” UserInfo={NSLocalizedDescription=加载库失败 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/PrivateFrameworks/XCPreviewKit.framework/Versions/Current/XCPreviewKit 由于缺少引导符号}}))
【问题讨论】: