Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RyanMitchellWilson opened this issue Oct 11, 2019 · 8 comments
Labels
API: CameraRoll Bug Component: Image Newer Patch Available Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@RyanMitchellWilson
Copy link

React Native version:

System:
OS: macOS Mojave 10.14.6
CPU: (12) x64 Intel(R) Core(TM) 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)

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.61 and verify if the issue still exists.

The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running `react-native info` on a project using the latest release.

@RyanMitchellWilson
Copy link
Author

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.

@qyhongfan
Copy link

same issue~~

@shanghaikangshuai
Copy link

+1 ,and I do not know how to resolve for a few days

@zhijianzhang
Copy link

0.60.4 同样的问题

@zhijianzhang
Copy link

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

@stale
Copy link

stale bot commented Apr 17, 2020

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Apr 17, 2020
@stale
Copy link

stale bot commented Apr 25, 2020

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Apr 25, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: CameraRoll Bug Component: Image Newer Patch Available Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

6 participants