Xcode : error won't go away

I had some code the at one time contained a class named “XYZ”
I no longer had need for it, so I removed it, as well as any/all references to it

However I continue to get “Cannot find XYZ in scope” error, and it points to a line where IT HAD BEEN referenced (now actually a blank line)

The code compiles, and runs, but this error message keeps hanging around. I have cleaned the bulid folder, I have restarted Xcode all to no avail