每次打开项目时,Xcode都会意外退出 [英] Xcode quits unexpectedly every time I open my project

查看:414
本文介绍了每次打开项目时,Xcode都会意外退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是打开我的xcode,当我打开我当前的项目时,它显示警告,如xcode意外退出,有3个选项忽略,报告和重新打开,当我点击重新打开它将打开xcode窗口并且它会自动关闭并显示相同的警告。

I am just opening my xcode , when i open my current project its showing the warning like "xcode quit unexpectedly " with 3 options "Ignore","Report" and "Reopen",when i click reopen it will open xcode window and again automatically it will close and showing the same warning.

为什么会发生这种情况我不会成为新手,如果有人对这个PLZ的想法帮助我。如果我打开任何其他项目,那么它的开放没有问题...问题是我的当前应用程序。

Why this is happening am not getting am a newbie,if anyone having idea on this plz help me out. if i open any other projects then its opening no issues...issue is with my Current App.

版本:

xcode是4.3.1

mac OS X版本是10.7.3

请告诉我为什么会发生这种情况。

versions :
xcode is 4.3.1
mac OS X version is 10.7.3
Please tell me why its happening like this.

推荐答案

Xcode将一些用户状态信息存储在Xcode项目文件中,该文件实际上是一个文件夹。该状态信息可能已损坏。您通常可以丢弃 .xcodeproj 文件夹中的所有内容,但 project.pbxproj 文件除外。这可能会解决您的问题。

Xcode stores some user state information inside the Xcode project "file", which is really a folder. That state information might have become corrupted. You can normally throw away everything inside your .xcodeproj folder except the project.pbxproj file. This might fix your problem.

打开包含 .xcodeproj 文件的文件夹。右键单击 .xcodeproj 文件,然后选择显示包内容。然后丢弃除 project.pbxproj 文件之外的所有内容。

Open up the folder containing your .xcodeproj file. Right-click the .xcodeproj file and choose "Show Package Contents". Then throw away everything except the project.pbxproj file.

如果您知道Xcode工作区是什么,并且您实际上在使用它它可能没有 project.xcworkspace 文件丢弃,或者你可能不想丢弃它。但是如果你不知道Xcode工作区是什么,那么你就不会使用它,所以你可以扔掉 project.xcworkspace 。 Xcode会自动重新创建它。

If you know what an Xcode workspace is, and you're actually making use of it, you might not have a project.xcworkspace file to throw away, or you might not want to throw it away. But if you don't know what an Xcode workspace is, then you're not using it so you can just throw away project.xcworkspace. Xcode will recreate it automatically.

这篇关于每次打开项目时,Xcode都会意外退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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