Solved

EAS build error

  • 21 September 2022
  • 2 replies
  • 448 views

Badge +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)

 

icon

Best answer by alex_mbt 5 October 2022, 06:24

View original

2 replies

Badge

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

Badge +3

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

Reply