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?
For a single file, you can open the external file in Xcode and cmd + s to save it, it will be refreshed in Xcode. Also, for the quick way you can just chose the external folder in Xcode and cmd + s , it will refresh all your external file in this folder.
Overview. The Project navigator displays your project's files and lets you open, add, delete, and rearrange those files. To open the Project navigator, at the top of your project window's navigator area, click the icon that resembles a file folder.
Press and hold the ⌘ + shift and . keys at the same time. Then you can switch to view hidden/non-hidden files.
For me the issue was different. My search bar was empty but I had mistakenly selected the clock icon in the search bar at the bottom of the navigator.
Unselected it looks like this
Selected it look like this
The clock icon filters the files for files that have been recently used and therefore, hides a number of your files.
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
.
Untick this timer icon at the bottom of navigator in case you have selected it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With