Migrating project to Xcode 7.2 on OS X El Capitan breaks the build

隐身守侯 提交于 2019-12-04 07:43:21

You're in fact not using a Storyboard, but a Xib. In your file you'll find sections such as this:

<mask key="constraints">
    <exclude reference="6fq-cy-xp8"/>
</mask>

You'll want to open your .xib as "Source Code" and remove these so that the constraints become installed.

Select Storyboard Disable Size class resolve my problem. Hope this will help you! Thanks After build your project you can again enable size class.

well mainly make sure that when you’re using IB to check that you don’t have any constraints with the “installed” checkbox checked if the view they belong to is “not installed”. Xcode 7.1 doesn’t even give a warning about this, but 7.2 causes a crash

Disable AutoLayout on your storyboard. This should fix your problem.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!