How do I get driver.shake() to work properly?

Attempting to shake on iOS simulator via Appium gives the result: Method has not yet been implemented

Shake functionality has been deprecated by Apple, but I’ve found this Github repo that others have suggested:

https://github.com/appium/appium-xcuitest-driver

I’ve installed this repo via npm, but I’m not sure how to use it properly. Normally I just start an Appium server with appium and then begin an iPython session for debugging. How do I use the appium-xcuitest-driver?

Do I need to change my capability settings? Currently I’m using: 'automationName': 'XCUITest'