I just upgraded to XCode 4 and am now unable to view a number of my previous XCode 3 projects. When I launch the projects XCode opens, but it looks like this:

Any way to tell what is going wrong? Any special logs I can look at? I don't get any warnings or errors appearing!
Had the same problem, resolved:
Right click your project's .xcodeproj file -> 'Show Package Contents' -> delete project.xcworkspace . The workspace file will be automatically recreated when you open the project again.
The alternative solution is to create a new workspace (File -> New -> Workspace) and add your project to it (File -> Add Files to "New Workspace"). Essentially the same thing.
Not sure why the workspace file gets out of sync as I didn't go through any Xcode version changes, but I suspect it was related to git commits. Didn't use .gitignore.
project.xcworkspace saves your workspace settings (Navigator/Debug/Utilities panes,etc) and Editor states. It's automatically created when you create a new project.
From a forum - "When you open an xcworkspace file, it opens the associated Xcode project and restores the perspective. Therefore, Xcode workspace files (.xcworkspace) can be used as a wrapper or container for an Xcode project (.xcodeproj)."
The solution was to delete the local project files and re-clone from the GIT repository. Not sure what the issue is, but it may have been related to having opened the project in XCode 4 Developer Preview.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With