Separate all working copies and reset all version history in Xcode 6.3

I have been working on the Xcode project (which is installed through an adhoc installation, for internal use in my company) for several years, and I turned on source control from the first day. Everything worked perfectly, until I released iOS 8, I decided to convert it to iOS 8, while leaving a backup copy of the project. So, I renamed the source folder to bimpd_old and started changing the new project. I am new to git and I did not know that this could ruin the source control. After that (and while still working on both projects), my original control will no longer comment that the project is not under version control.

I tried many solutions on the Internet that offer to delete the .svn / .git folders, disconnect and reinstall the control source, run git init, add *, commit .. I also tried removing bimPd.xccheckout EDIT: I already tried the solution: How to disable a working copy of the Xcode 5 project from an SVN server that died without success. This solution probably only works for Xcode5, and my problem is in Xcode 6.3

I just want to lose the entire version history, disconnect / delete all working copies, and start a new version control, starting today.

How can i achieve this?

Notes:

  • Xcode first gave me a warning that svn needed to be updated. I did it, but still he didn’t
  • I don't need git online (local only)
  • I stopped working on an old project .. and I no longer need it.
  • ( ) 3 , ( ).

working copies

  • , , xcode , www.mydomain.com/bimpd ( svn, -) . ( )
  • , , : "bimpd.xcodeproject" ( )

commit error

+4
7

" ".xcodeproj > ( ) > project.xcworkspace > ( ) > xcSharedData > " ".xccheckout

" " "..". , XML , TextEdit.

git/svn, , , , em Xcode.

+7

, @david72 . ( @dandoonian " ", .)

.xcworkspace. :

projectname.xcworkspace( ) → xcshareddata → projectname.xcscmblueprint

( " ", ), xCode. .

+3

, , @david72 help ( )

P.s. !

  • xcode
  • git/svn
  • xccheckout
  • xcode
  • Reinitialize git: git init, add., commit
  • Xcode
+2

DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey

, .

+2

.git - , , .

... root-repo ! .

(, 50 , !)

+1

pod install.

cocoa. Xcode , , gitHub .

  1. pod install
  2. ~/Library/Developer/Xcode/DerivedData
  3. Xcode,
0

, , 2 Xcode 10.2.1.

, , . , . git . . - Xcode - .

XCode, , - , . XCode .

None of the other solutions for searching for DVTSourceControl, xccheckout files, searching in the Xcode workspace or project contents or deleting derived data gave an answer. Just exit Xcode, find another working copy on disk and rename it, and then open Xcode again to solve this problem.

Who knows what happened.

0
source

Source: https://habr.com/ru/post/1584018/


All Articles