Xcode hidden features
- Show build operation duration on toolbar
- Disable swip gestures Xcode only
- Reduce Xcode build times
- Validating Your Version of Xcode
- Check Xcode UUID
- Clean Up Xcode Simulator
defaults write com.apple.dt.Xcode ShowBuildOperationDuration YES
defaults write com.apple.dt.Xcode AppleEnableMouseSwipeNavigateWithScrolls -bool NO
for trackpad
defaults write com.apple.dt.Xcode AppleEnableSwipeNavigateWithScrolls -bool NO
source https://coderwall.com/p/1p4mha/reduce-xcode-build-times
- Try remove
~/Library/Developer/Xcode/DerivedData/
$ rm -rf ~/Library/Developer/Xcode/DerivedData/*
- Creating a 2 GB volume RAM disk via the Terminal:
$ hdid -nomount ram://4194304
- hdid outputs the device name of the RAM disk. Change the number instead of the 'N' for newfs_hfs and diskutil commands.
$ newfs_hfs -v DerivedData /dev/rdiskN
$ diskutil mount -mountPoint ~/Library/Developer/Xcode/DerivedData /dev/diskN
source Validating Your Version of Xcode
$ spctl --assess --verbose /Applications/Xcode.app
and the result
/Applications/Xcode.app: accepted source=Apple System
defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
xcrun simctl erase all
xcrun simctl delete unavailable