gpt4 book ai didi

ios - Xcode 7.2.1 在切换到 main.storyboard 时不断崩溃

转载 作者:塔克拉玛干 更新时间:2023-11-01 21:20:57 31 4
gpt4 key购买 nike

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

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

当我点击“确定”后保存它时,Xcode 再次崩溃。

如何阻止它崩溃以便我可以编辑 Storyboard?

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

最佳答案

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

关于ios - Xcode 7.2.1 在切换到 main.storyboard 时不断崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35976703/

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