Ionic Native - Geofence Plugin not working in ios

Hello i have installed Ionic native Geofence plugin which is supported for Android and Ios according to its documentation. My code is working just fine in Android but when i build in Xcode for ios im getting like 300 errors in Geofence files(GeofencePlugin.swift, SwiftData.swift, SwiftyJson.swift)

I found a workaround which says to replace the code in those 3 files but nothing worked.

Can anyone help me?