Skip to main content
Solved

Protocol 'StoreKit2PurchaseIntentType' requires 'id' to be available in macOS 14.4 and newer


Forum|alt.badge.img+4

With macOS Tahoe released today, I wanted to see how my app ran on it. But I ran into a compile error when using the RevenueCate Swift package:

 

Protocol 'StoreKit2PurchaseIntentType' requires 'id' to be available in macOS 14.4 and newer

I know RevenueCat just got their hands on the new SDK today, but I wanted to post my issue here to get the ball rolling on using RevenueCat with the new OS 26 versions.

This error was within the StoreKit2PurchaseIntentListener.swift file.

Best answer by Will Taylor

Hi everyone! 👋 We’ve just released iOS SDK version 5.28.0, which contains a fix for this issue. You should be able to resolve the issue by updating your SDK version to the latest version.

 

Thanks for reporting, and please let us know if you run into any other issues!

View original
Did this post help you find an answer to your question?
This post has been closed for comments

8 replies

Forum|alt.badge.img+4

Oh, and I am using version 5.27.1 of the RC SDK.


MarcosC
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 179 replies
  • June 9, 2025

Hi Brendan, 

 

Thanks for reporting, we are working on it. We have a draft PR that we are currently testing (https://github.com/RevenueCat/purchases-ios/pull/5254)

 

I’ll let you know when it’s live.


Regards,

Marcos


Forum|alt.badge.img+1
  • New Member
  • 1 reply
  • June 9, 2025

Awesome. Same thing here. Thanks OP for reporting it and thanks @MarcosC for working on it so quickly.


Will Taylor
RevenueCat Staff
Forum|alt.badge.img
  • RevenueCat Staff
  • 3 replies
  • Answer
  • June 10, 2025

Hi everyone! 👋 We’ve just released iOS SDK version 5.28.0, which contains a fix for this issue. You should be able to resolve the issue by updating your SDK version to the latest version.

 

Thanks for reporting, and please let us know if you run into any other issues!


Forum|alt.badge.img+4

Excellent! Thanks for fixing this so quickly! It worked perfectly.


Forum|alt.badge.img+3

Thanks for getting a fix out so quickly – you folks are the best!


Forum|alt.badge.img

With macOS Tahoe released today, I wanted to see how my app ran on it. But I ran into a compile error when using the RevenueCate Flutter package:
Swift Compiler Error (Xcode): Protocol 'StoreKit2PurchaseIntentType' requires 'id' to be available in iOS 16.4 and newer

but I wanted to post my issue here to get the ball rolling on using RevenueCat with the new OS 26 versions.

This error was within the StoreKit2PurchaseIntentListener.swift file.

I am using this purchases_flutter: ^8.10.1


Will Taylor
RevenueCat Staff
Forum|alt.badge.img
  • RevenueCat Staff
  • 3 replies
  • June 11, 2025

Hi ​@ahmad-marouf-9adc98, this fix has been ported to the Flutter SDK in version 8.10.2, so updating your SDK should resolve the issue.

 

The fix will also be released on all other hybrid SDKs in the next hour or so.

 

Thanks,

 

Will


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings