0

I updated git sparse-checkout settings and ran git sparse-checkout reapply on an already cloned iOS project repository. git status shows that the working tree is clean, but Xcode shows many uncommitted deleted files in "Integrate" –> "Commit."

What I tried and didn't work:

  • Removing Derived Data
  • Removing .git/index.lock
  • "Integrate" -> "Refresh file status"
  • Removing Xcode's SCM caches (~/Library/Caches/com.apple.dt.Xcode, ~/Library/Developer/Xcode/UserData/SCMBlueprints)
  • Cleaning targets, even with xcodebuild -alltargets clean
  • find . -name "*.xccheckout" -delete
  • Disabling and re-enabling SCM integration in Xcode Settings

How could I synchronise Xcode's representation with the underlying Git representation?

1
  • 1
    It sounds like XCode just doesn't speak sparse checkout at all. It doesn't know what it's looking at. Find XCode's dev site, guessing they don't use github or email, whatever they do use, you've got an XCode issue. Commented Oct 16 at 17:04

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.