Skip to content

Instantly share code, notes, and snippets.

@ddunbar
Last active September 28, 2023 17:03
Show Gist options
  • Save ddunbar/0a606e9036aaea552ec9cb21548bc618 to your computer and use it in GitHub Desktop.
Save ddunbar/0a606e9036aaea552ec9cb21548bc618 to your computer and use it in GitHub Desktop.
Xcode user defaults
# Enable timings on build operations
defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YES
# Enable extensive per-task timings
defaults write com.apple.dt.Xcode IDEBuildOperationTimingLogLevel -int 3
# Enable old build system logging for "implicit dependencies"
defaults write com.apple.dt.Xcode IDEBuildOperationDependenciesLogLevel -int 3
# Show logs from the "prebuild" step
defaults write com.apple.dt.Xcode IDEShowPrebuildLogs -bool YES
# or...
xcodebuild ... -IDEBuildOperationTimingLogLevel=3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment