现在的位置: 首页 > 综合 > 正文

The document “X.xib” could not be opened. Could not read archive. Please use a newer version of Xco

2014年06月07日 ⁄ 综合 ⁄ 共 546字 ⁄ 字号 评论关闭

问题:

xib文件在Xcode 5建立,现在需要在Xcode 4.6打开运行。

报错:

The
document "DetailTransactionPage.xib" could not be opened. Could not read archive.

Please
use a newer version of Xcode. Consider changing the document's Development Target to preserve compatibility

解决:

用Xcode5打开项目,修该下Opens in的参数。

具体:

1,Right click on XXX.xib file and select "Show File Inspector."

2,Go to Interface Builder Document.

3,Change Development option with the version of Xcode you are using.

注意:

修改时Xcode也会提醒,如果改成支持4.6的,那么5.0的一些界面特征也会相应被修改。

参考:

http://stackoverflow.com/questions/18955323/the-document-xib-could-not-be-opened-could-not-read-archive?rq=1

抱歉!评论已关闭.