# Enable internal menu
defaults write com.apple.dt.Xcode ShowDVTDebugMenu -bool YES
# Enable project build time
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
# Reduce the number of compile tasks and stop indexing
defaults write com.apple.dt.XCode IDEIndexDisable 1
# Save all xcode preferences to a file
defaults read com.apple.dt.XCode > xcodeprefs.json
# Show all devices and their information you have plugged in before
defaults read com.apple.dt.XCode DVTSavediPhoneDevices
# Improve performance
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks 5
# Improve performance by leveraging multi-core CPU
defaults write com.apple.dt.Xcode IDEBuildOperationMaxNumberOfConcurrentCompileTasks `sysctl -n hw.ncpu`
# Delete these settings
defaults delete com.apple.dt.XCode IDEIndexDisable
Last active
April 25, 2025 19:01
-
-
Save durul/191a6f6a75b7b131cca6d7f2b3f56129 to your computer and use it in GitHub Desktop.
Xcode Defaults
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment