Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode quits unexpectedly every time I open my project

Tags:

xcode

macos

ios

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.

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.

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

like image 566
suvarna Avatar asked Nov 28 '12 07:11

suvarna


1 Answers

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.

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

cleaning an xcodeproj package

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.

like image 143
rob mayoff Avatar answered Sep 28 '22 02:09

rob mayoff