Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode's Refactor menu is always disabled

Tags:

xcode

iphone

For some reason Xcode's Refactor is always disabled. I used to be able to activate it via selecting a class name and right clicking in the editor to select it. But now no matter what I do, it remains disabled. Any idea what's going on?

like image 400
Boon Avatar asked Dec 08 '22 06:12

Boon


1 Answers

Working with Xcode 5, I kept getting "Can't refactor during indexing" when trying to refactor. Rebuilding the index seemed to hang at "Indexing - Waiting for make" forever.

I then noticed that make was already used by another process on my machine (not by Xcode). Shutting this process down enabled Xcode to finally finish indexing

like image 95
Katlu Avatar answered Dec 26 '22 22:12

Katlu