After opening xcode, when I open my current project, it’s showing a warning like "xcode quit unexpectedly" with 3 options: "Ignore", "Report" and "Reopen". When I click "Reopen", it will open the xcode window and again automatically it will close and show the same warning.
Why this is happening? If I open any other projects, then it opens with no issues; the issue is with my current app.
versions:
- xcode is 4.3.1
- mac OS X version is 10.7.3
Please tell me why it’s happening like this.
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
.xcodeprojfolder except theproject.pbxprojfile. This might fix your problem.Open up the folder containing your
.xcodeprojfile. Right-click or control-click the.xcodeprojfile and choose “Show Package Contents”. Then throw away everything except theproject.pbxprojfile.If you know what an Xcode workspace is, and you’re actually making use of it, you might not have a
project.xcworkspacefile 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 awayproject.xcworkspace. Xcode will recreate it automatically.