react-native-unity-view: React-Native 0.61.2 "React/RCTBridgeModule.h" file not found

I could run this library up to version 0.60.5.

But I am getting 'React/RCTBridgeModule.h' file not found with the latest version (0.61.2). A lot of people are suggesting to run pod install for this error, but it does not work.

I know that React.xcodeproj was removed from version 0.61, and it is a part of the issue. Because this package is not updated lately, I am sure we have to find a workaround.

Curious if anyone is getting the same error or already has solved it.

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Reactions: 4
  • Comments: 24

Most upvoted comments

@benjarwar To be clear, my script actually replaces /react-native/React header search path, because we dont need it.
It replaces:
$(SRCROOT)/../../react-native/React to
$(SRCROOT)/../../../ios/Pods/Headers/Public

Try to add the following both to the project and the target Library search paths of RNUnityView.xcodeproj and set it to recursive. ‘$(SRCROOT)/…/…/…/ios/Pods/Headers/Public’