I have several Xcode 4 projects ( Cocos2D 1.0.1 ). Today, one of the projects was working just fine and was actually released to iTunes. I then opened the project later and simply closed the project while on the target build summary view. Now I can't open the project. I tried the same thing on a second perfectly working project, and now that one won't open either.
When I try to reopen either of the 2 projects, Xcode gives me the following error message:
Internal Error
Xcode encountered an internal logic error. Choose "Continue" to continue running Xcode in an inconsistent state. Choose "Crash" to halt Xcode and file a bug with Crash Reporter. Choosing "Crash" will result in the loss of all unsaved data.
Details
UNCAUGHT EXCEPTION (NSInvalidArgumentException): -[NSCFString count]: unrecognized selector sent to instance 0x2013963e0
UserInfo: (null)
Hints:
0: Replacement view is installing: <Xcode3TargetEditor: 0x202020e60 representing: (null)>
Backtrace:
........ more info listed but not shown
If I select "continue", I can navigate through menus, settings, etc., but there's still the "loading ...... " at the top center as it seems it can't find project files. The project files lists are also not shown as they normally are on the left. If I choose "continue", I have to force quit Xcode.
I've been trying to find a solution to this, but so far no luck. I was hoping someone here might have seen this before and help me out. I've tried several suggestions I've read about deleted cache files, but still no luck. Thanks for your help.