2013-10-10 30 views
1

请别人帮我解决。.Xib在用Xcode 4.6.1运行项目时创建错误

我的Mac OS(10.8.5)已更新,我也使用Xcode 5,但是我的以前的Xcode 4.6.1也安装在我的Mac中。当我通过Xcode 5运行我的项目时,它没问题,但是当我通过Xcode 4.6.1运行我的项目时,它显示了您在image.and中看到的错误,并且无法运行该项目。

enter image description here

回答

3

这有一个非常简单的答案。

公开赛上的Xcode 5,项目文件,然后

1.Open file inspector 

2.On Interface Builder Documents section change Open with to Xcode 4.6 (if it's 5.x). 

enter image description here

3.Click Revert, Close the project and open that with old Xcode. 

enter image description here

你可以做的Xcode 4.6同样的事情与旧版本的工作。

编码愉快.. :)

3

1)转到你的xcode5看到你StoryBoardFile去助理编辑预览的选项。

2)然后转到文件检查器中看到第一个选项卡

3)选择适当的界面生成器文档4.6

4)一个警报弹出他们要求你恢复到Xcode的4.6格式?选择恢复

请按照此步骤在旧的xcode项目中打开您的项目。