文档“XXXX.xib”不能打开。无法读取存档 [英] The document "XXXX.xib" could not be opened. Could not read archive

查看:98
本文介绍了文档“XXXX.xib”不能打开。无法读取存档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Xcode5开发人员预览中打开我的项目后,当我尝试在Xcode 4.5中打开项目时,出现了几个.xib文件的错误。错误文本为:

After opening my project in the Xcode5 developer preview, errors appeared against a few .xib files when I tried to open the project in Xcode 4.5. The error text was:

 The document "XXXX.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中的开发目标似乎是iOS 5.0。

The project's development target in Xcode5 appears to be iOS 5.0.

查看带有错误的.xib文件的源代码,很明显Xcode5中.xib文件的.xml结构发生了巨大变化,并且需要要重新格式化为向后兼容。

Looking at the source code of the .xib files with errors, it is clear that the .xml structure for .xib files in Xcode5 has changed quite dramatically, and it needs to be reformatted to be backwards compatible.

有没有办法为特定的.xib文件设置开发目标?有谁知道如何解决这个错误?

Is there a way to set development targets for specific .xib files? Does anyone know how this error can be resolved?

非常感谢。

推荐答案

一个更好,更简单的解决方案即使您的项目不受源代码管理也可以在这里找到(我的):

A better and easier solution that works even if your project isn't under source control can be found here (mine):

刚刚安装了xcode 5并且缺少故事板

希望有所帮助。

这篇关于文档“XXXX.xib”不能打开。无法读取存档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆