无法自动更新约束 [英] Failed to automatically update constraints

查看:66
本文介绍了无法自动更新约束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在尝试使用自动布局在更新到xCode 9后对任何viewController进行添加,重置或更新任何约束时,出现无法自动更新约束错误.我已经清理并重新启动了Mac.

I am getting the Failure to automatically update constraints error when trying to use the auto layout to Add, Reset, or Update any restraints on any viewController after updating to xCode 9. Any ideas? I have already cleaned and restarted my Mac.

仍然没有找到解决方案.我将其范围缩小到其中具有collectionView的任何viewController.有什么想法吗?

Still have not found a solution for this. I narrowed it down to any viewController with a collectionView inside it. Any ideas?

推荐答案

适用于所有关注此内容的人.xCode 9.0.1已发布.经过测试,可以修复此错误.我无法复制.

For everyone following this. xCode 9.0.1 is out. Tested and it fixes this error. I haven’t be able to reproduce.

这篇关于无法自动更新约束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆