Reputation: 24521
I added a new group from selection today in Xcode containing several files. For some reason, this has consisted for a while, I am unable to name or rename the group folder.
Has this happened to anyone else before, if so have you come across a fix?
Upvotes: 24
Views: 12097
Reputation: 867
Some times its not related to xcode, its finder problem, because directory still exists and finder doesn't show that, you can see directory exists by entering ls in terminal.
How to solve this?
Open terminal and navigate to parent directory of desired directory : cd ~/../parent or just right click parent directory and choose New Terminal at Folder Remove desired directory : rm -rf MyGroup Now you can try to create your group with MyGroup name.
Upvotes: 0
Reputation: 119
You cannot rename the folder probably because that folder already exists in that directory.
To solve it:
Upvotes: 1
Reputation: 1395
For anyone that has my issue: Check your files in Finder. I had a folder that was already using that name. Delete that folder and it will allow you to change name.
Upvotes: 5
Reputation: 467
Sometimes it happens.
Workaround:
Upvotes: 21
Reputation: 38728
What have you tried to do in order to rename it?
The contextual menu (right click) does not provide a rename option. Therefore I either
OR
Upvotes: 40