Opening Xcode Projects -- **Hidden files permanently and forcefully hidden**
As you can see here:
...I have a hidden folder. The title is simply Passphrase. There is no "." at the beginning and there seems to be no way to unhide that folder. The way this came about was that I was simply programming in Xcode and then when I went to run the project, it immediately failed with some cryptic error message that I didn't write down or copy (mistake #1). I've faced similar problems before, so I first thought to just close Xcode and reopen it.
When I went to reopen the xcode project, it immediately crashed and now won't let me in. I eventually figured out that the problem was that Xcode somehow hid the folder that had all of the files to the project, ie storyboard files, assets, view controllers.
I'm not sure what caused it, as I was simply coding some regular code. The only thing that I can think of that might have caused it was that I changed the plist file of my project to include authorization to use the camera and photo library, which I did after following a guidebook like this one (except it was for iOS 14. I was programming the app to be used for iOS 16+, so maybe that was part of the issue?). Every other file in the folder for the xcode project seemed untouched.
I also used ls -al to show all of the files in the folder and it found only the shown files, the hidden passphrase folder, and a .DS_Store file, which I cannot open. I have researched them and it could be the perpetrator, but I have deleted it multiple times and finder every time generates a new one and the file stays hidden. I have found no way to unhide this seemingly super-hidden folder. I have also tried to copy the hidden folder and then paste it, but that only pastes a hidden copy.
I have (through various methods) gotten an unhidden copy of the folder, however, and replaced the corrupted folder in the original xcode project folder, but xcode seems to reject it and still won't open it. I also would like to add that xcode will still open previous versions of the project, and it will still open other projects. I have restarted my computer as well, but I have not deleted and redownloaded Xcode yet.
Thoughts on how to help? I primarily want to be able to open my xcode files again, and secondly would like to know how to solve the problem with my hidden folder. If needed I can send files.
MacBook Pro 13″, macOS 14.2