热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

无法自动更新约束,iOS11Xcode9-Failedtoautomaticallyupdateconstraints,iOS11Xcode9

Xcode9repeatedlygivesmethiserroreverytimeItrytoAddMissingConstraintsorResettoSugges

Xcode 9 repeatedly gives me this error everytime I try to Add Missing Constraints or Reset to Suggested Constraints in a view controller that is attached to a navigation controller.

每当我尝试在附加到导航控制器的视图控制器中添加缺失约束或重置为建议约束时,Xcode 9就会反复出现此错误。

enter image description here

If I remove the segue connection between the navigation and view controller, adding missing constraints in the view controller works perfectly. This functionality appears to break whenever it is embedded in a navigation controller.

如果我删除导航和视图控制器之间的segue连接,则在视图控制器中添加缺少的约束可以完美地工作。只要将其嵌入导航控制器中,此功能就会中断。

Is there a solution to this bug? I've only seen one other user having this problem on Stackoverflow. I've tested this in three of my Xcode projects and it's barring me from completing any work at all on my apps.

这个bug有解决方案吗?我只看到另一个用户在Stackoverflow上遇到此问题。我已经在我的三个Xcode项目中对此进行了测试,并且禁止我在我的应用程序上完成任何工作。

1 个解决方案

#1


0  

Apparently this is a known bug in Xcode 9. I just downloaded Xcode 8 from the Apple Developer Portal and everything is working fine using that.

显然这是Xcode 9中的一个已知错误。我刚刚从Apple Developer Portal下载了Xcode 8,一切正常。

https://developer.apple.com/download/more/?name=Xcode


推荐阅读
author-avatar
chucai
这个家伙很懒,什么也没留下,只留下了这个默认个签!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有