When I try to re-name any variable, Xcode give me the following error:
I have tried restarting Xcode but the same thing happens. Any ideas how to fix?
I just had this issue with Xcode 11.6 and I solved it like this:
~/Library/Developer/Xcode/DerivedData
)And thats it! When I reopened Xcode it let me use the rename feature.
My experience is that this due to Xcode's (very poor) git integration. When I turn off git integration, the rename works fine.
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