I have an independent watch app on the store as part of a family of apps. The watch app is part of a single project with the iOS app. After I upgraded Xcode, my app will no longer recognize the Purchases(now RevenueCat) package. I am using a single class that manages the purchases. If I have it as part of the watch extension it throws errors. If I only target the iOS app, the errors go away. The errors all essentially amount to:
'PurchaserInfo' is not a member type of class 'RevenueCat.Purchases'
I am also showing an error of
Watch Extension.build/Objects-normal/arm64_32/Settings.dia:1:1: warning: Could not read serialized diagnostics file: error("Invalid diagnostics signature") (in target 'Watch Extension'…
Steps I have done:
- Make sure that the package is linked to the extension
- cleared the derived data, cleaned the project and restarted.
I can find no setting that seems to be a problem. Any help would be appreciated.
Best answer by sharifView original