Skip to content

RCT-Folly dependency error with Expo SDK 54 / React Native 0.81 when New Architecture is enabled #91

@ChrisWiles

Description

@ChrisWiles

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions