I just updated my xcode and my computer with the new apple updates that just came out and now RevenueCat is making my project not build correctly because i keep getting this error in one of their files “Stored properties cannot be marked potentially unavailable with '@available'” What should I do to fix this?
Stored properties cannot be marked potentially unavailable with '@available'
I have the same problem.
Yes, it’s M1 with Xcode Version 14.0 (14A309).
For example, the compiler reports this line of code:
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
lazy var storeKit2Listener = StoreKit2TransactionListener(delegate: self)
If you want a fast workaround until the fix, please tap on your xcode app and check Open using Rossetta.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.