Issue
When using Expo SDK 54 (React Native 0.81) with New Architecture enabled (newArchEnabled: true), iOS builds fail during pod install with:
[!] Unable to find a specification for `RCT-Folly` depended upon by `react-native-zendesk-messaging`
Root Cause
In React Native 0.81, iOS dependencies are shipped as precompiled XCFrameworks and RCT-Folly is no longer available as a separate pod. The current podspec (lines 41-42) conditionally adds RCT-Folly when RCT_NEW_ARCH_ENABLED=1:
s.dependency "React-Codegen"
s.dependency "RCT-Folly"
Workaround
Disable New Architecture in app.config.ts:
android: { newArchEnabled: false },
ios: { newArchEnabled: false }
Solution
PR #90 proposes using install_modules_dependencies helper to handle dependencies correctly.
Environment
- react-native-zendesk-messaging: 0.3.2
- Expo SDK: 54
- React Native: 0.81.4
- Platform: iOS (EAS Build)