Search code examples
objective-cxcodexcode4

Undo "New group from selection" project xcode 4


I accidentally added my project to a group, and now I can't remove it from it in xcode 4, any ideas? If I drag it out, it asks me to create a workspace...

The problem

EDIT: I reported this to apple in the bug reporter, I'll keep you guys updated


Solution

  • This is a project without a workspace?

    Close Xcode. Back up the .xcodeproj, then right click the original and Show Package Contents. Inisde, you'll see a file called project.xcworkspace. This is a workspace created by Xcode when a project is open without a xcworkspace, and it contains this grouping information.

    Move this to the trash and reopen the project in Xcode; it will generate a new, default project.xcworkspace without the grouping.