1

gitリポジトリに接続しています。何かをコミットしたいときはいつでも、Xcodeは「操作を完了できませんでした。(com.apple.dt.IDESourceControlErrorDomainエラー-70)」と言います。[OK]を押すと、変更をコミットでき、すべてが正常に見えますが、煩わしいです。解決策を持っている人はいますか?前もって感謝します。

4

1 に答える 1

1

私は同じ問題を抱えていて、私は基本的なsvnユーザーなので、より良い答えがあると確信していますが、それは私を助けました.競合は私のproject.xcodeprojファイルにあったので、XCodeを閉じ、現在のプロジェクトのバックアップを作成しました. xcodeprojファイルが変更されようとしてクラッシュする可能性があるため、スナップショット機能が機能するかどうかわからないので、ターミナルを開いて「svn update」コマンドを実行すると、プロンプトが表示されました:

Conflict discovered in 'myProject.xcodeproj/project.pbxproj'.
Select: (p) postpone, (df) diff-full, (e) edit,
        (mc) mine-conflict, (tc) theirs-conflict,
        (s) show all options: 

私は「s」を選択し、それから私は得ました

  (e)  edit             - change merged file in an editor
  (df) diff-full        - show all changes made to merged file
  (r)  resolved         - accept merged version of file

  (dc) display-conflict - show all conflicts (ignoring merged version)
  (mc) mine-conflict    - accept my version for all conflicts (same)
  (tc) theirs-conflict  - accept their version for all conflicts (same)

  (mf) mine-full        - accept my version of entire file (even non-conflicts)
  (tf) theirs-full      - accept their version of entire file (same)

  (p)  postpone         - mark the conflict to be resolved later
  (l)  launch           - launch external tool to resolve conflict
  (s)  show all         - show this list

「tc」を選択してから、プロジェクトを再度開き、変更を適用しました。

于 2013-04-01T15:47:39.247 に答える