This is a very common issue and has a very simple fix. If the clock icon in Xcode (usually in the bottom right of the file viewer) is illuminated (usually blue), this explains the issue. Simply click the clock icon and your files should appear again.
Let us know if this article was helpful.