Xcode 7.2.1 在切换到 main.storyboard 时一直崩溃

Xcode 7.2.1 keeps crashing when switching to main.storyboard

我可以通过手动编辑 main.storyboard 文件并将 useAutoLayout="YES" 更改为 useAutoLayout="NO" 来阻止它在启动时崩溃,但是当我打开 main.storyboard 文件时Xcode,它给了我以下错误:

The document "Main.storyboard" had 4 internal inconsistencies that were found and repaired.
This may be due to an SCM operation such as merging. Please save the document to fix the inconsistencies.
This constraint is not in the referencing constraints for its first item [<Unknown ID>]: object ID K4p-Wa-FrY
This constraint's [object ID 4bY-ZD-KPO] second item is not in the document
This constraint is not in the referencing constraints for its first item [<Unknown ID>]: object ID p48-i6-mG1
This constraint is not in the referencing constraints for its first item [<Unknown ID>]: object ID f2a-1r-b55

当我在点击 "OK" 后保存它时,Xcode 再次崩溃。

如何阻止它崩溃以便我可以编辑我的故事板?

Here's 如果有帮助,请提供崩溃详细信息。

我明白了。我不得不用文本编辑器打开 main.storyboard 文件,并删除所有包含 Xcode 大喊大叫的对象 ID 的行。