Mamma Mia, today, I met an extremely painful thing. Changed for two hours. Finally solved, may be xcode bug it
Specifically, I opened Xcode, and then in Git I added the various additions to delete the branch, switch branches, and then open the project found that only files opened in Xcode are still lying in Project Navigator, and the others are gone. I thought it was plist file changes, this toss AH. But I found that the path bar above the Xcode editor could see all the directories, and then I couldn't calm down. Various clones, various delete item caches. At the end of the day I found an option in the main Menu directory of Xcode Navigate, the bottom menu of the first item reveal in Project Navigator, is to navigate to the currently open file in Project Navogator. I opened another header file on the path bar above the edit area, and then I lit the reveal in Project Navigator and found that all the files in the project directory appeared. Not entertaining, ~. ~
Xcode Project Navogator does not display project files