Capacitor-analytics plugin not breaking in iOS build

Using the “capacitor-analytics” plugin in iOS I am getting the error: “type ‘Analytics’ has no member ‘setAnalyticsCollectionEnabled’” I have configured it using the instructions at https://github.com/stewwan/capacitor-analytics

Any ideas?