今天用Xcode7.3 打開用Xcode8編寫過的代碼,然后報錯:
This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8
錯誤截圖
原來是在Xcode8創建的xib中,會自動加入下面這行
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
我們只需要右鍵選中Xib,然后選中 Open As —> Source Code
以XML格式打開Xib
然后把剛才的那行刪掉就可以了。