I am trying to implement a monthly subscription as part of an in-app purchase.
I am using a combination of xcode/swift and RevenueCat to implement this feature. In implementing the code that runs when the user clicks the purchase button i get the error saying "Fatal error: NSArray element failed to match the Swift Array Element type
Expected Package but found RCPackage".
Where the code for the purchase button click is highlighted. Code is "guard let package = offerings.all.first?.value.availablePackages.first ".
I am not sure what to do to fix this issue.