Reputation: 1
I am really nervous , A file on Xcode 9 is somehow turned to be red, and I have a error message saying :
<unknown>:0: error: no such file or directory: '/Users/me/Desktop/PROJECT/code/vin/vins/EditorView.swift'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1
As you know if a file is deleted Xcode will not put it on the trash bin, so how would I get it back , assuming I didn't closed Xcode ?
I may deleted it accidentally, although i don't remember doing so and do not have a backup, and its a huge file.
Upvotes: 0
Views: 40
Reputation: 1
What happened is that I changed the main folder name that contains the plist and some other files. The system couldn't find the new path. I changed it back to the previous name and it worked.
Upvotes: 0
Reputation: 285039
Identity and Type Inspector
click on the small folder icon below the Location
popup menu and reassign the file.Upvotes: 2