Describe the bug
When integrating Datadog v2.12.0 with Expo 54, the iOS build process fails due to missing Folly header files, specifically folly/coro/Coroutine.h.
Expo 53 was working fine
Bug similar to #946
There is a workaround, but only for React Native CLI
Reproduction steps
- Upgrade/Create the app with Expo 54
- Integrate
"@datadog/mobile-react-native-session-replay": "^2.12.0",
- Make Expo prebuild
SDK logs
Compiling @datadog/mobile-react-native-session-replay Pods/DatadogSDKReactNativeSessionReplay » RCTFabricWrapper.mm
❌ (ios/Pods/RCT-Folly/folly/Expected.h:1587:10)
1585 | // Inspired by https://github.com/toby-allsopp/coroutine_monad
1586 | #if FOLLY_HAS_COROUTINES
> 1587 | #include <folly/coro/Coroutine.h>
| ^ 'folly/coro/Coroutine.h' file not found
1588 |
1589 | namespace folly {
1590 | namespace expected_detail {
› Compiling @datadog/mobile-react-native-session-replay Pods/DatadogSDKReactNativeSessionReplay » DdSessionReplay.mm
› Compiling @datadog/mobile-react-native-session-replay Pods/DatadogSDKReactNativeSessionReplay » DdPrivacyViewFabric.mm
❌ (ios/Pods/RCT-Folly/folly/Expected.h:1587:10)
1585 | // Inspired by https://github.com/toby-allsopp/coroutine_monad
1586 | #if FOLLY_HAS_COROUTINES
> 1587 | #include <folly/coro/Coroutine.h>
| ^ 'folly/coro/Coroutine.h' file not found
1588 |
1589 | namespace folly {
1590 | namespace expected_detail {
Expected behavior
Compiling & working
Affected SDK versions
2.12.0
Latest working SDK version
2.12.0 (on Expo 53)
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
Yarn
React Native Version
0.81.4
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Device Information
No response
Other relevant information
No response
Describe the bug
When integrating Datadog v2.12.0 with Expo 54, the iOS build process fails due to missing Folly header files, specifically folly/coro/Coroutine.h.
Expo 53 was working fine
Bug similar to #946
There is a workaround, but only for React Native CLI
Reproduction steps
"@datadog/mobile-react-native-session-replay": "^2.12.0",SDK logs
Expected behavior
Compiling & working
Affected SDK versions
2.12.0
Latest working SDK version
2.12.0 (on Expo 53)
Did you confirm if the latest SDK version fixes the bug?
Yes
Integration Methods
Yarn
React Native Version
0.81.4
Package.json Contents
No response
iOS Setup
No response
Android Setup
No response
Device Information
No response
Other relevant information
No response