cd ../../
xcodebuild -configuration Development
cd build/Development
sudo chown -R root:wheel ApplePS2Trackpad.kext
kextunload ApplePS2Trackpad.kext
rm -rf /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Trackpad.kext/
mv ApplePS2Trackpad.kext /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/
kextcache -k /System/Library/Extensions/ApplePS2Controller.kext
kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Trackpad.kext
kextunload /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Keyboard.kext
kextunload /System/Library/Extensions/ApplePS2Controller.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Trackpad.kext
kextload /System/Library/Extensions/ApplePS2Controller.kext/Contents/PlugIns/ApplePS2Keyboard.kext
echo "Done!"
