简体   繁体   English

更新到Swift 2.0后的Autolayout问题

[英]Autolayout issue after updating to Swift 2.0

After downloading Xcode 7.0 and migrating to Swift 2.0, i am getting the following error. 下载Xcode 7.0并迁移到Swift 2.0后,我收到以下错误。

Attempt to add this NSLayoutConstraint to an engine in which it already exists. 尝试将此NSLayoutConstraint添加到已存在的引擎中。 This can cause engine corruption. 这可能会导致引擎损坏。 Break on void _NSLayoutConstraintRedundantAdd() to debug. 打破void _NSLayoutConstraintRedundantAdd()进行调试。 This will be logged only once. 这将只记录一次。 This may break in the future. 这可能在将来破裂。

Seems that for few people it got fixed by updating to Xcode 7 beta 5 似乎很少有人通过更新到Xcode 7 beta 5来修复它

https://forums.developer.apple.com/thread/11909 https://forums.developer.apple.com/thread/11909

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM