1. 禁用SIP的情况下禁用 spindump和tailspind提升Mac 运行速度,将是以下四个命令:
sudo launchctl bootout system/com.apple.spindump
sudo launchctl disable system/com.apple.spindump
sudo launchctl bootout system/com.apple.tailspind
sudo launchctl disable system/com.apple.tailspind
这些bootout行将卸载服务,并且这些disable行将launchd不会再加载它们。如果您想撤消它,可以这样做:
sudo launchctl enable system/com.apple.spindump
sudo launchctl bootstrap system /System/Library/LaunchDaemons/com.apple.spindump.plist
sudo launchctl enable system/com.apple.tailspind
sudo launchctl bootstrap system /System/Library/LaunchDaemons/com.apple.tailspind.plist
2.提高XCode编译时使用的线程数
网友评论