I had removed some files from my iOS project a while back and thought they had been completely deleted. After a long time I created another class which unfortunately had the sam
To be safe from this error, make sure you Remove Reference
on the file first before making any changes (outside XCode) on that file like deleting in folder, renaming, etc..
To remove reference, in XCode, right click on the file then Delete
. A pop-up will show asking if you want to move to trash
or remove reference
.
However, that popup won't show if you made any changes before doing Delete on XCode.
Just a tip!