Skip to main content

After upgrading Xcode I have this error and build failed.

Stored properties cannot be marked potentially unavailable with '@available'

Error is in 

BeginRefundRequestHelper.swift,

ProductsManager.swift,

PurchasesOrchestrator.swift

Is there  any solution please?

 

        

Hi, how did you resolve the issue? I just upgraded to Xcode 14 and I get this error when I compile an app that was working fine on Xcode 13.2.


Updated the Swift Package and it resolved the issue.

 

On Xcode on the main document tree > Package Dependencies > Right Click the RevenueCat package > Click Update Package


Reply