When you rename a file in Xcode then Xcode loses its reference to that file. 💢😡💢😡