that solution is aTo avoid the hangs in Xcode:
- Copy/paste the code you want to change in a C++ source file.
- When done, Cut/Paste into the header and immediately save.
Other solutions are band-aidaids that fallsfall off pretty fast. This issue has been around since the early versions of Xcode. It
It seems to occur in C++ projects when you modify a header file and it decides that its time for indexing to start. All of the files that you were editing get saved and then Xcode locks up. Its about time that Apple takes this seriously and fixes their deadlocking mutexes. To avoid the issue: Copy/paste the code you want to change in a C++ source file. When done, Cut/Paste into the header and immediately save.