Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do I have two (2) working copies in XCode 5 Source Conrol?

Tags:

git

xcode5

I have an iPad app with several versions; I'm currently working on v2.1.1, which I checked out from the remote repos. This is what I see when I click on Source Control. What does this mean and how do I fix it?

enter image description here

like image 779
SpokaneDude Avatar asked Jul 12 '14 19:07

SpokaneDude


1 Answers

I have removed old repo using following steps.

  • ProjectName.xcodeproj -> Show Package Contents
  • project.xcworkspace -> Show Package Contents
  • xcshareddata
  • Open .xcscmblueprint file using any text editor
  • Remove all unrequited repo from following location DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey
  • Save file and open Xcode again
like image 92
Piyush Avatar answered Oct 23 '22 00:10

Piyush