Skip to content

'react/bridging/CallbackWrapper.h' file not found #52805

Description

@LuckyRoc

Description

When integrating React Native into an iOS project, I encountered an error: 'react/bridging/CallbackWrapper.h' file not found.
After verifying, I found that setting install! "cocoapods", :generate_multiple_pod_projects => true causes the error, while setting it to false resolves the issue. Why does this happen? How can I resolve the error without changing generate_multiple_pod_projects?

Steps to reproduce

add install! "cocoapods", :generate_multiple_pod_projects => true in podfile

React Native Version

0.77.3

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info

Fetching system and libraries information...
System:
  OS: macOS 15.5
  CPU: (10) arm64 Apple M2 Pro
  Memory: 141.59 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 24.2.0
    path: /opt/homebrew/bin/node
  Yarn:
    version: 1.22.19
    path: /opt/homebrew/bin/yarn
  npm:
    version: 11.3.0
    path: /opt/homebrew/bin/npm
  Watchman:
    version: 2025.06.23.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.15.2
    path: /Users/roclucky/.rvm/gems/ruby-3.1.5/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.1
      - iOS 18.1
      - macOS 15.1
      - tvOS 18.1
      - visionOS 2.1
      - watchOS 11.1
  Android SDK: Not Found
IDEs:
  Android Studio: Not Found
  Xcode:
    version: 16.1/16B40
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 21.0.1
    path: /usr/bin/javac
  Ruby:
    version: 3.1.5
    path: /Users/roclucky/.rvm/rubies/ruby-3.1.5/bin/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: false
  newArchEnabled: false

info React Native v0.80.1 is now available (your project is running on v0.77.3).
info Changelog: https://github.com/facebook/react-native/releases/tag/v0.80.1
info Diff: https://react-native-community.github.io/upgrade-helper/?from=0.77.3&to=0.80.1
info For more info, check out "https://reactnative.dev/docs/upgrading?os=macos".

Stacktrace or Logs

'react/bridging/CallbackWrapper.h' file not found

MANDATORY Reproducer

https://github.com/react-native-community/reproducer-react-native

Screenshots and Videos

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: AttentionIssues where the author has responded to feedback.Needs: ReproThis issue could be improved with a clear list of steps to reproduce the issue.StaleThere has been a lack of activity on this issue and it may be closed soon.Type: Unsupported VersionIssues reported to a version of React Native that is no longer supported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions