Question

Error after upgrading to Xcode 14

  • 4 October 2022
  • 2 replies
  • 1041 views

Badge +5

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?

 

        


2 replies

Badge +3

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.

Badge +3

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