Skip to main content
Answer

EAS build error

  • September 21, 2022
  • 2 replies
  • 606 views

Forum|alt.badge.img+3

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

This post has been closed for comments

2 replies

Forum|alt.badge.img
  • Helper
  • 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
  • November 19, 2022

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