名前を変更してコードをリファクタリングしようとすると、このメッセージが頻繁に表示されます。
***.h is not part of the build phase of any targets in this workspace and so can’t be refactored.
Add the file to the build phase of a target in this workspace, or make a selection in another file.
Xcode を再起動してプロジェクトを再度開いた直後にのみリファクタリングが機能する場合があります。しかし、その後うまくいきません。