Xcode suspended animation cannot be opened solution - delete the configuration file
rm -rf $HOME/Library/Application Support/Developer/Shared/Xcode
rm -rf $HOME/Library/Preferences/com.apple.dt.Xcode.*
rm -rf $HOME/Library/Saved\ Application\ State/com.apple.dt.Xcode.savedState
rm -rf $HOME/Library/Developer/Xcode
When the above command is not used, reinstalling Xcode will not work. This method is recorded here.
From: https://www.cnblogs.com/buoge/p/9343427.html