Xcode 4加载项目后未显示任何文件 [英] Xcode 4 shows no files after loading project

查看:109
本文介绍了Xcode 4加载项目后未显示任何文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一段时间不看之后,我已经在Xcode 4中加载了一个项目. Xcode显示其进度栏,并以文本形式指示该项目正在加载,并且看上去已完成,但是在层次结构或平面视图中没有文件显示.任何视图都没有显示(断点视图中只有一个断点).

I've loaded a project in Xcode 4 after not looking at it for a while. Xcode shows its progress bar and indicates in text that the project is loading, and it appears to finish, but then there are no files shown in the hierarchy or flat views. There is nothing showing in any view (except for one breakpoint in the breakpoints view).

有什么想法吗? Xcode零提示我什么都不对劲,什么也没告诉我.

Any ideas? Xcode gives me zero indication that anything is wrong, it shows me nothing.

推荐答案

我只是遇到了同样的问题.经过几个小时的摸索和尝试各种尝试之后,我终于找到了解决方法:删除XXXXX.xcodeproj程序包中的整个程序包'project.xcworkspace'.

I just had the same issue. After a few hours scratching my head and trying all kind of things, I finally found a fix: remove the whole package 'project.xcworkspace' inside the XXXXX.xcodeproj package.

更具体地说,当您找到"XXXXX.xcodeproj"文件时,右键单击它,然后选择显示软件包内容".这将使您进入可以在其中找到"package.xcworkspace"文件的软件包中.最好在Xcode项目关闭时执行此操作.

More specifically, when you find the 'XXXXX.xcodeproj' file, right-click it, and select 'Show Package Contents'. This will get you inside the package where you will find the 'package.xcworkspace' file. It is best to do this while the Xcode project is closed.

也许将来对您或其他有相同问题的人都有用...

Maybe that will work for you or for others with the same issue in the future...

这篇关于Xcode 4加载项目后未显示任何文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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