Skip to content

Instantly share code, notes, and snippets.

@vedon
Last active March 12, 2023 10:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vedon/fa0f1f69543789a0752593dcc9190b29 to your computer and use it in GitHub Desktop.
Save vedon/fa0f1f69543789a0752593dcc9190b29 to your computer and use it in GitHub Desktop.

Enable indexing

  • defaults delete com.apple.dt.Xcode IDEIndexEnable
  • defaults write com.apple.dt.Xcode IDEIndexEnable -bool YES

Disable indexing

  • defaults delete com.apple.dt.Xcode IDEIndexDisable
  • defaults write com.apple.dt.Xcode IDEIndexDisable -bool YES

Show Indexing numeric progress

  • defaults write com.apple.dt.Xcode IDEIndexerActivityShowNumericProgress -bool YES

Show Indexing logging

  • defaults write com.apple.dt.Xcode IDEIndexShowLog -bool YES

Set SourceKit log level

  • defaults write com.apple.dt.Xcode IDESourceKitServiceLogLevel -int 3
  • SOURCEKIT_LOGGING=3 /Applications/Xcode.app/Contents/MacOS/Xcode &> ~/Desktop/xcodeIndexing.log

// Please visit https://github.com/ctreffs/xcode-defaults for more detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment