1

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:

enter image description here

to:

enter image description here

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?

zorro2b
  • 2,227
  • 4
  • 28
  • 45

1 Answers1

1

There is no bug you just need to recreate the schemes. Click on your target "MyRecipeIndex" -> "Manage Schemes" - delete everything -> "Autocreate schemes now". You should be able to build the project after that.

almas
  • 7,090
  • 7
  • 33
  • 49
  • 1
    Yes, you are right. The autocreate schemes worked. But why do the schemes not persist when I switch between commits? – zorro2b Feb 27 '16 at 06:27