Skip to main content
Question

react-native-purchases - 'SubscriptionPeriod' is ambiguous for type lookup in this context" - iOS fastlane build error


Forum|alt.badge.img+3

When building iOS simulator build from react native, with the react-native-purchases 7.0.0, and XCode is 16.4 (if that matters).

I use this command:  eas build --platform ios --profile development-ios --local

Then during the [RUN_FASTLANE] I see:
“'SubscriptionPeriod' is ambiguous for type lookup in this context”.  

However, I don’t see it if I build with eas (not locally).

I understand Flutter fixed this issue recently. 
1) Which version was this fixed in for react-native-purchases?  
2) Why do I only see it when building locally?
 

2 replies

joan-cardona
RevenueCat Staff
Forum|alt.badge.img+6
  • RevenueCat Staff
  • 431 replies
  • June 10, 2025

Hi ​@jeffrey-oboe,

When Xcode 16.3 and iOS 18.4 were released, they contained some new StoreKit typealiases that caused a few compilation issues in our SDKs. We released a fix in our SDK for that which for React Native can be found in version 8.6.2. If you upgrade to that version or newer you shouldn’t see the compilation error anymore.

Let me know if that worked!

 

 


Forum|alt.badge.img+3
  • Author
  • New Member
  • 4 replies
  • June 10, 2025

That did indeed work, thank you joan-cardona.


Reply


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