Xcode stuck in VCS diff mode

Version 14.0 beta 2 (14A5229c)

Whenever I type Xcode mirrors the line I just typed showing me that this version has been updated. This is really unexpected behavior as I am not trying to review my changes or do anything git related.

I got into this weird state after making a commit and pushing to my repo, making a pull request and then git pull on my local main. Xcode then mistakenly thought that all files were behind by a commit(s) as previously changed files had the downward arrow next to them.

This is a bit annoying than I would like because this is affecting other things. I cannot view anything in my assets.xcassets, which also weirdly seems to be affected by this VCS bug(?).

I tried turning off VCS altogether which fixes the Xcode mirroring problem, but I still can't view anything in assets. I also tried refreshing the file status which ultimately returns me back to the same state.

Any suggestions?

Answered by bostshakur in 719259022

Turns out I was stuck in a feature I haven't explored yet. There's a button labeled enabled code review mode.. this was quite the experience!

Accepted Answer

Turns out I was stuck in a feature I haven't explored yet. There's a button labeled enabled code review mode.. this was quite the experience!

Xcode stuck in VCS diff mode
 
 
Q