1

i've recently installed OS X Yosemite to upgrade Xcode 6.3 and have installed Xcode 6.3.2.
But it seems like refactor -> rename is not working in Xcode 6.3.2. (screenshot attached below)
The same thing is happening when i try to rename a file, function or variable from Edit -> Refactor -> Rename.
I want to know if anybody else has faced this issue?
If yes, has anybody managed to find a workaround for this?

Error when trying to rename something from <code>Edit ->  Refactor</code>

S1LENT WARRIOR
  • 11,704
  • 4
  • 46
  • 60
  • 1
    Yes this might be Xcode bug..! but you can try this answers from similar post..Hope it helps http://stackoverflow.com/questions/11903426/xcode-4-4-unable-to-rename-classes-variables – Rahul Shirphule May 28 '15 at 11:24

1 Answers1

3

Try selecting the second icon (the one with the bullets) before saving:

enter image description here

You'll see the list of changes to be made. After clicking SAVE everything will be renamed, even the filenames.

Leandro Fournier
  • 927
  • 1
  • 9
  • 21
  • Thanks @Leandro. Although its very late to answer this question but this might be helpful for others. Answer Accepted :) – S1LENT WARRIOR Apr 13 '16 at 03:00
  • 1
    Thanks, @S1LENT WARRIOR! I came across your question recently and yesterday I found the way to do the refactor. So I search your question again and answer it in order to help others. Yes, it was too late for your project, haha. Thanks for accepting it! – Leandro Fournier Apr 13 '16 at 11:44