How can I resolve a red (moved) file in Xcode 5?

2020-06-07 11:48发布

问题:

In Xcode 4 when you would move a file, you could resolve the new location of the file by clicking a button in the right menu, and selecting the new location through Finder.

In Xcode 5, there is no button in the right menu and I haven't found any way to specify the new location of the file through right clicking the file, or the top menu bar options.

回答1:

  1. Right click the file in Xcode and select "Show File Inspector"
  2. In the file inspector click the little folder icon next to the file path.

This will open a file dialog allowing you to update the file path.



回答2:

Just delete the old one and add the moved one.



标签: ios xcode xcode5