Reputation: 13
I was moving around my Xcode folder project and I have accidentally deleted the .xcworkspace file (the white one). Is it possible to generate a new one?
Upvotes: 1
Views: 2710
Reputation: 113
Like others have suggested, source control would be a great idea if you're not using it already, to protect you in this precise scenario. Github is a great place to start for that.
In the Xcode menu, click File > New > Workspace, then follow the prompts.
Once that's done, you'll have an empty Workspace, and you can drag whichever .xcodeproj files in that you wish to the sidebar to add them to the workspace.
Upvotes: 2