I'm using Xcode Version 9.1 (9B55), and it appears that my Comparison Editor is broken. I'm using Git in my project. When I try to turn Comparison Editor on I get following error:
The source control operation failed because the revision “XXXXX” could not be found.
Here is the screenshot of the Xcode interface:
My question is: has anyone of you experienced that and solved it? If so, what is the solution?
Answering possible comments in advance: Git from command line is working as usual, I don't have any external source control editor open while trying to open comparison editor.
Had the same issue myself.
For me, what worked was trying to commit a file via Xcode's source control menu.
When I tried to do that, I came across an error saying it was unable to access the git/attributes file on the .config
folder on my Mac's user's folder since the permissions were insufficient (have no idea why it changed all of the sudden).
Bottom line: This helped me: Unable to access 'git/attributes'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With