question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

/node_modules/react-native/Libraries/CameraRoll/RCTImagePickerManager.h:9: 'React/RCTBridgeModule.h' file not found

See original GitHub issue

React Native version:

System: OS: macOS Mojave 10.14.6 CPU: (12) x64 Intel® Core™ i7-8850H CPU @ 2.60GHz Memory: 1.22 GB / 16.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 8.10.0 - ~/.nvm/versions/node/v8.10.0/bin/node npm: 5.6.0 - ~/.nvm/versions/node/v8.10.0/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 12.4, macOS 10.14, tvOS 12.4, watchOS 5.3 Android SDK: API Levels: 23, 24, 25, 26, 27, 28, 29 Build Tools: 26.0.2, 28.0.3, 29.0.1, 29.0.2 System Images: android-24 | Google Play Intel x86 Atom, android-25 | Google Play Intel x86 Atom, android-26 | Intel x86 Atom, android-26 | Intel x86 Atom_64, android-26 | Google APIs Intel x86 Atom, android-26 | Google APIs Intel x86 Atom_64, android-26 | Google Play Intel x86 Atom, android-27 | Intel x86 Atom, android-27 | Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-28 | Intel x86 Atom, android-28 | Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom, android-29 | Google Play Intel x86 Atom_64 IDEs: Android Studio: 3.4 AI-183.6156.11.34.5692245 Xcode: 10.3/10G8 - /usr/bin/xcodebuild npmPackages: react: 16.8.6 => 16.8.6 react-native: 0.60.5 => 0.60.5 npmGlobalPackages: react-native-cli: 2.0.1 react-native: 0.60.5

Steps To Reproduce

  1. Follow the linking steps here https://facebook.github.io/react-native/docs/cameraroll.html
  2. Add RCTCameraRoll.xcodeproj to libraries in my app.
  3. Add libRCTCameraRoll.a to Build Phases -> Link Binary With Libraries
  4. Try to build. Instantly fails with ‘React/RCTBridgeModule.h’ file not found

Describe what you expected to happen:

It should not fail.

Snack, code example, screenshot, or link to a repository:

CameraRoll.saveToCameraRoll(url)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

2reactions
RyanMitchellWilsoncommented, Oct 11, 2019

I tried to upgrade to 0.61.2 and they’ve removed cameraRoll entirely. So I installed the react-native-community version and had the exact same issue. So it looks both versions have the same issue.

1reaction
zhijianzhangcommented, Nov 15, 2019

我在Podfile 添加 pod ‘React-RCTCameraRoll’, :path => ‘…/node_modules/react-native/Libraries/CameraRoll’ 执行 pod install 成功运行

Read more comments on GitHub >

github_iconTop Results From Across the Web

`React/RCTBridgeModule.h` file not found - Stack Overflow
In my case this particular problem happened when I was trying to archive a 0.40+ react-native app for iOS (solution was found here:...
Read more >
Xcode 10.2 'React/RCTBridgeModule.h' file not found #24363
I noticed that my build differs from my coworkers with the same settings and code, not sure why. This is the specific error...
Read more >
React Native: How to fixed RCTBridgeModule.h file not found
React Native. React Native: How to fixed RCTBridgeModule. h file not found. 19K views 3 years ago React Native · AppSolution. AppSolution.
Read more >
iOS : Build failed 'React/RCTBridgeModule.h' file not found
iOS : Build failed ' React/RCTBridgeModule. h ' file not found [ Beautify Your Computer : https://www.hows.tech/p/recommended.html ] iOS ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found