3

名前を変更してコードをリファクタリングしようとすると、このメッセージが頻繁に表示されます。

***.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 を再起動してプロジェクトを再度開いた直後にのみリファクタリングが機能する場合があります。しかし、その後うまくいきません。

4

1 に答える 1

3

適切な解決策を見つけることができなかったので、オーガナイザー > プロジェクトで派生データを繰り返し削除することで、この状況に対処しました。

于 2012-07-02T07:59:30.187 に答える