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

Build Failed on IOS RN 0.72 RNSensors v7.3.6 - RCTBridge & RCTBridgeModule not found #456

Open
flikQ opened this issue Oct 23, 2023 · 4 comments

Comments

@flikQ
Copy link

flikQ commented Oct 23, 2023

Installation of React-Native-Sensors fails on RN 0.72..

Errors as follows:

  • /.../react-native-sensors/ios/RNSensorsOrientation.m:5:9: 'React/RCTBridge.h' file not found
  • /.../react-native-sensors/ios/RNSensorsMagnetometer.m:5:9: 'React/RCTBridge.h' file not found
  • /.../react-native-sensors/ios/RNSensorsGyroscope.h:3:9: 'React/RCTBridgeModule.h' file not found

To Reproduce
Try and install on RN 0.72.5 using YARN & pod install.

Attempted manual and automatic installation independently so they don't conflict.

Expected behavior
Install correctly and work.

Desktop (please complete the following information):

  • React Native Version: 0.72.5
  • Device: iOS on Sim and/or Device
  • Version: v7.3.6
@WookyungYun
Copy link

same here! did you solve it?

@lehung97abc
Copy link

same here! you can fix it?

@WookyungYun
Copy link

same here! you can fix it?

I fixed it! In my case, npm install process was the problem.

you can install with '--save'

@lehung97abc
Copy link

lehung97abc commented May 4, 2024

same here! you can fix it?

I fixed it! In my case, npm install process was the problem.

you can install with '--save'

i follow https://react-native-sensors.github.io/docs/Installation.html . but errors as follows:
.../node_modules/react-native-sensors/ios/RNSensorsMagnetometer.m:5:9 'React/RCTBridge.h' file not found

use yarn or npm --save is same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants