Reverting all Xcode settings to their original state

后端 未结 2 681
说谎
说谎 2020-11-29 02:16

I got my Xcode into a non-functional state when I can no longer start a search: once I press ⌘+F, Xcode hangs with a spinning pinwheel, and stops responding. Once

2条回答
  •  执笔经年
    2020-11-29 02:35

    Reset all XCode settings from command line by running following commands then restart XCode:

    defaults delete com.apple.dt.Xcode
    rm -rf $HOME/Library/Application Support/Developer/Shared/Xcode
    rm -rf $HOME/Library/Saved\ Application\ State/com.apple.dt.Xcode.savedState
    rm -rf $HOME/Library/Preferences/com.apple.dt.Xcode.*
    

提交回复
热议问题