错误:This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8

今天用Xcode7.3 打开用Xcode8编写过的代码,然后报错:

This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8

错误:This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8_第1张图片
错误截图

原来是在Xcode8创建的xib中,会自动加入下面这行

我们只需要右键选中Xib,然后选中 Open As —> Source Code

错误:This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8_第2张图片
以XML格式打开Xib

然后把刚才的那行删掉就可以了。

你可能感兴趣的:(错误:This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8)