Skip to main content
Question

Error after upgrading to Xcode 14

  • October 4, 2022
  • 2 replies
  • 1193 views

Forum|alt.badge.img+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?

 

        

This post has been closed for comments

2 replies

Forum|alt.badge.img+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.


Forum|alt.badge.img+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