2

My git repo suddenly has two working copies in Xcode. It sends the commits to both the original working copy and a working copy that is actually my repository from a completely different project.

I have tried this answer but there is no xcshareddata folder in my project.

How would I remove the wrong working copy?

Community
  • 1
  • 1
yoeriboven
  • 3,541
  • 3
  • 25
  • 40

1 Answers1

1

Apparently two files imported from the other project caused this to happen. To fix it I removed the files and imported them again by copying them to the project's folder.

yoeriboven
  • 3,541
  • 3
  • 25
  • 40
  • how did you found those files imported from the other project? – leizeQ Oct 12 '16 at 07:36
  • Can't remember since it's been a while, but these files were never copied to the project folder. They were only added to the target. So maybe you could compare the files in your project folder to the files that are used in the project. – yoeriboven Oct 12 '16 at 10:14