The solution to the problem of Xcode9.x always being redirected and stuck
After upgrading the system and Xcode, the running project often gets stuck and I can only force quit every time.
Cause
I recently configured a new Mac. After installing Xcode 9.3, I found that the project was often stuck when running and could not work at all. At first, I thought it was an environmental problem. Then I completely uninstalled Xcode and reinstalled it twice, but the sound was still the same. Then I restored the system, but it still didn’t work. I also tried various methods on the Internet, but none of them solved it.
Solution
Later, I suddenly saw a M symbol on the right side of each class library in the project. The M indicated that the class library code had been modified, but the code was not modified. I guessed that there was something wrong with Xcode’s git, so I turned off Xcode’s git version management function, as shown below. The result is great, great!

Later, the test found that there was no problem with the newly created project. It may be that our project is too big (more than 1G), and there should be a bug in the xcode git management.
读完之后,下一步看什么
如果还想继续了解,可以从下面几个方向接着读。