The document “Main.storyboard” requires Xcode 8.0 or later
之前项目是 Xcode 7 创建的,使用 Xcode 8 或 Xcode 9 打开之后,再用 Xcode 7 打开准备修改界面时会提示:
The document “Main.storyboard” requires Xcode 8.0 or later.
This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8.0 or later.
如下图所示:
解决方法是在工程中选择 Main.storyboard 右键菜单点击 Open As -> Source Code ,如下图所示:
删除这句:
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
然后选择 Main.storyboard 右键菜单点击 Open As -> Interface Builder,就能重新加载看到设计界面了。
原文地址:https://www.exchen.net/main-storyboard-requires-xcode-8-0-or-later.html