⬅️ Go Back
✏️ Contribute
defaults write com.apple.dt.Xcode IDEAdditionalCounterpartSuffixes -array-add "ViewModel" "View" "Screen"You can check the current value of this default using defaults read com.apple.dt.Xcode IDEAdditionalCounterpartSuffixes.
Source: Peter Friese
This is useful if you have a project that crashes Xcode on launch, if you want to run multiple Xcode versions for different projects, or if you always want to choose the project to open.
defaults write com.apple.dt.Xcode ApplePersistenceIgnoreState -bool YESSource: Txai Wieser
This shows the build time duration directly in the activity viewer every time you build.
defaults write com.apple.dt.Xcode ShowBuildOperationDuration -bool YESSource: Txai Wieser
Xcode has a secret internal debug menu. To enable it:
defaults write com.apple.dt.Xcode ShowDVTDebugMenu -bool YES
sudo touch /Applications/Xcode.app/Contents/Developer/AppleInternal/Library/Xcode/AppleInternal.plistYou can also enable a similar menu for the iOS simulator.
Source: Khoa, @onmyway133