Abhi
Abhi

Reputation: 429

Xcode keeps crashing when opening a certain project

Xcode crashes as soon as I open the project. What is more interesting is the fact that XCode does not crash on other projects. Any ideas of what this could be ?

enter image description here

Update 1: I am using XCode 4.2 on a Snow Leopard machine.

Update 2: I have a sneaky feeling that the crash is happening only when I click on the project navigator button

Upvotes: 0

Views: 409

Answers (2)

Mike Weller
Mike Weller

Reputation: 45598

Generally when this happens, deleting all the user files from the project will fix the crash.

Delete the following files from your Project.xcodeproj/ directory/bundle:

  • project.xcworkspace
  • xcuserdata

Upvotes: 3

justin
justin

Reputation: 104698

The crash appears to have something to do when drawing the SCM status (Git, Subversion) of one of your files. Personally, I don't have this problem, so I can't offer a specific fix. Perhaps there is something atypical about your repository's state which you can correct.

You may also want to try (temporarily) deleting your xcuser state data (shot in the dark).

Upvotes: 2

Related Questions