首页 > 解决方案 > XCode 12.4:发生内部错误编辑功能可能受到限制

问题描述

自从在两个运行 macOS 10.15.6 的不同 MacBook 上升级到 XCode12.4 后,我在打开 Storyboard / Xib 文件时遇到问题。

需要明确的是,特定项目不会发生这种情况 -我打开的任何项目以及该项目中的任何故事板/xib文件都会发生这种情况。

在文件打开之前和我看到它之前有很长的延迟。

  1. 蓝色轮廓的 UI 组件,而不是细节。

  2. 错误消息:发生内部错误 编辑功能可能受到限制

从我的 log.txt

XCODE VERSION INFO:

Version = 12.4 (12D4e)
Plugin Version = 17701
Beta Version = 1
OS Version = 10.15.6 (19G2021)


ASSERTION:

Failed to update scene '01J-lp-oVM' with IBUIViewAutolayoutGuide (x1), UIView (x1), and UIViewController (x1).

Exception name: IBPlatformToolFailureException
Exception reason: The tool closed the connection

Application Specific Information:
** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Failed to create remote render context'

terminating with uncaught exception of type NSException
abort() called
CoreSimulator 732.18.6 - Device: iPhone Xʀ (9B855293-1F8D-4794-BF54-5193C46BB094) - Runtime: iOS 14.4 (18D46) - DeviceType: iPhone Xʀ

我已经清理了派生数据/重新启动了我的机器等 - 都无济于事。

在这个阶段我能做的就是重新安装 XCode 12.4,除非有人能提出任何建议?

标签: xcodeinterface-builder

解决方案


如果您有一个带有苹果硅的新 Mac,请尝试取消选中Open using Rosetta.

在此处输入图像描述


推荐阅读