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?
Page 1 / 1
What is your Mac config? Is it M1? what is your Xcode version?
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.

Unfortunately even with Rosetta, Xcode fails to compile showing the same error.
I solved the problem using the latest version of RevenueCat (v4.12.0), I was using version 4.1.0
Thanks for the update!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.