I am using Git and SourceTree with my project. I want to switch the whole project to a previous commit to trace where I have introduced a bug. When I do so (using SourceTree) XCode no longer thinks my project is a valid iOS project.
The scheme changes from:
to:
and I can no longer build.
What is going on here? Is XCode keeping some additional state that is preventing me from being able to switch the whole project to a previous version?