View hidden files in Xcode Project navigator

Perhaps I'm missing something obvious, but is there a way to see hidden files in Xcode's Project navigator? I can't seem to find any way to show them.
What would be the purpose ?
Which hidden files do you mean ?
Are they files of the project or any hidden files in MacOS ?
They are files/folders in the project directory. For instance, I have a .github directory with workflows and such in it, and it would be nice to see those in the Project navigator. Granted, I can just open them in another application, or use Terminal to open them, but it would be nice if I didn't have to exit Xcode to view files in the project I'm working on. So, the project might look like:
Code Block
Project/
.github/
workflows/
.gitignore
SwiftFile.swift
...

I hope they add this basic feature really soon!

In the Finder, you can press cmd-shift-. to see hidden directories. Then drag them into your Xcode project, adding them as a folder reference. (And don't select any targets, since it sounds like you don't want them to appear in your built product.)

Then drag them into your Xcode project, adding them as a folder reference

As NicFontana mentions, this is not possible to do for Swift Packages. I have multiple Swift Packages I maintain, and they use Github Actions, which stores the configuration in a folder called ".github" (like NicFontana's project).

View hidden files in Xcode Project navigator
 
 
Q