jwade502 jwade502 - 3 months ago 30
Swift Question

Xcode Project Files not appearing in Project Navigator

Strange problem here...my project's Swift files, Main.Storyboard, additional images, delegate, etc. files are all missing from Xcodes Project Navigator.

What is really strange is that the project builds fine and I can also select them from the top of the main editor window even though they are not displayed on the left in the Project Navigator.

When I open my project, the files appear for about 1/2 a second, and then the list is condensed to the blue target file at the top and about 7 images. (I cannot post a picture because my reputation is not high enough.)

I've quit and reopened Xcode and also performed a few restarts, but I still can't select them...even though they're apparently there! Any ideas?


May be you need check the Project Navigator's bottom, there is a search bar.

If the search bar had some keywords, the Project Navigator would only show the files which file's name contain the keyword(s), and you can't clear the keyword by only reopen Xcode.

When you open Xcode, Xcode will initial the search bar with nothing and you can see the complete files, after initial had done, Xcode will load last close time's state for the search bar and filter files, so that's why When I open my project, the files appear for about 1/2 a second.