Jonathan suggest here: Xcode Includes .xib files that have been deleted! that cleaning all targets and empty the caches will fix the problem with Xcode including deleted .xi
When using a "Data Model" , there are options in the inspector to
generare classes, for me this was the case as there was already a class
with the existing name.