Skip to main content
Question

Error after migrating to RevCat SDK 5.x.x

  • October 29, 2024
  • 5 replies
  • 46 views

Forum|alt.badge.img+5
  • New Member
  • 3 replies

When i build my app on the new sdk i get a coiuple errors:


Trying to purchase a plan: ERROR: 😿‼️ There is an issue with your configuration. Check the underlying error for more details. This StoreProduct represents an SK1 product, but SK2 was expected.

 

This post has been closed for comments

5 replies

Forum|alt.badge.img+8
  • RevenueCat Staff
  • 509 replies
  • October 31, 2024

Hi, version 5.0.0+ of our iOS SDK enables full StoreKit 2 flow on the SDK and the RevenueCat backend by default and we have our migration guide here: https://www.revenuecat.com/docs/sdk-guides/ios-native-4x-to-5x-migration

Please make sure that your In-App Purchase Key Configuration is setup. If it is and you are still getting this error please let me know.


Forum|alt.badge.img+5
  • Author
  • New Member
  • 3 replies
  • November 3, 2024

Hi @Haley Pace, Thanks for the response. Yes I followed those docs earlier and I had confirmed that the key is setup (it has been setup prior to my migration to SDK 5 if that matters) 


sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • November 8, 2024

Hey @deji I’m checking with the mobile team on this, I’ll let you know what they say.


sharif
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 513 replies
  • November 8, 2024

@deji are you fetching products from Apple manually and then providing them to RevenueCat, for instance when using purchaseProduct? Can you share more details about when the error happens in your app?


Forum|alt.badge.img+5
  • Author
  • New Member
  • 3 replies
  • November 13, 2024

Hi @sharif, thanks for checking! your question reminded me I had a superwall integration I needed to update as well that was using “RevenueCat.StoreProduct(sk1Product: product)” I have now resolved this issue.


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