我开始开发一个 iOS 项目,它使用 IB 和 Storyboard。我从存储库克隆后构建它并且成功了。但问题是,只需单击 Storyboard 或更改某些内容后,它就不会运行并引发一些错误。 我使用的是 Xcode 12.4,我想这可能是版本问题。
Main.storyboard: error: IB Designables: Failed to render and update auto layout status for ReportsViewController (1DJ-2Y-KKP): Failed to launch designables agent because tool was shutting down. Check the console for a more detailed description and please file a bug report at feedbackassistant.apple.com.
我应该做什么以及它说了什么?
此外,我在报告导航器中看到了这条红线:
No account for team "**********". (Add a new account in the Accounts preference pane or verify that your accounts have valid credentials.)
最佳答案
Failed to render and update auto layout status for ReportsViewController
此错误不应阻止您构建/运行应用程序。这通常是 Xcode 错误,大多数时候您只需打开 .swift
文件并返回到 storyboard
、撤消和重做上次更改即可摆脱它或清理构建文件夹。
No account for team "**********".
这一定是阻止您运行应用程序的原因,要修复它,您必须使用 Apple 帐户登录。参见这里:https://stackoverflow.com/a/56774681/8125224
关于ios - 无法渲染和更新自动布局状态,无法启动可设计代理,因为工具正在关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66519176/