förschter
förschter

Reputation: 860

Xcode rearange Files in Finder

I tried to rearrange my source code files in finder and now xcode shows them as deleted. Is there a way to tell xcode the new location of the file?

Upvotes: 0

Views: 63

Answers (2)

Obj-Swift
Obj-Swift

Reputation: 2942

Click on the Missing file (turns Red) and go to file inspector. Click on the folder button in file inspector and provide the correct path of the file.

For missing files like this in red.

enter image description here

set correct path as shown below.

enter image description here

Upvotes: 2

Will
Will

Reputation: 1696

Select the file in the left (navigator) panel. In Xcode open the right (Utilities) panel if it's not already open. Now click the "File Inspector" tab. You should see a part that says "Location" with a button that looks like a folder. Click that button and then navigate to the folder where you moved the files to. Bam! Xcode should now see it's there!

Upvotes: 1

Related Questions