Skip to main content
Solved

EAS build error

  • 21 September 2022
  • 2 replies
  • 472 views

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

I added the react-native-purchases package of my react native project. When i run eas build it fails with the following error:

 (ios/Pods/RevenueCat/Sources/Identity/CustomerInfoManager.swift:192:29)

  190 | 
  191 |     @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.2, *)
> 192 |     var customerInfoStream: AsyncStream<CustomerInfo> {
      |                             ^ 'AsyncStream' is only available in iOS 15.0 or newer
  193 |         return AsyncStream(bufferingPolicy: .bufferingNewest(1)) { continuation in
  194 |             if let lastSentCustomerInfo = self.lastSentCustomerInfo {
  195 |                 continuation.yield(lastSentCustomerInfo)

 

Best answer by alex_mbt

I guess it’s a little late for an answer. Anyway, I had the same issue in expo managed workflow. To solve the problem I just upgraded ExpoSDK to the newest version by following the guide at the bottom of this page: https://blog.expo.dev/expo-sdk-46-c2a1655f63f7

View original
Did this post help you find an answer to your question?

2 replies

Forum|alt.badge.img
  • Helper
  • 1 reply
  • Answer
  • October 5, 2022

I guess it’s a little late for an answer. Anyway, I had the same issue in expo managed workflow. To solve the problem I just upgraded ExpoSDK to the newest version by following the guide at the bottom of this page: https://blog.expo.dev/expo-sdk-46-c2a1655f63f7


Forum|alt.badge.img+3
  • Author
  • New Member
  • 4 replies
  • November 19, 2022

Thanks @alex_mbt , yes I upgraded ExpoSDK to 46 and it works now!


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