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.

RNTextInputMask React/RCTBridge.h file not found

See original GitHub issue

After run:

yarn install react-native-text-input-mask
react-native link react-native-text-input-mask

got this error on xcode RNTextInputMask React/RCTBridge.h file not found

How do I fix it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:23 (1 by maintainers)

github_iconTop GitHub Comments

22reactions
rodolfovilacacommented, Nov 17, 2018

So, after much work done, i found a problem with the linking part of this library, which imported the wrong archives to my Libraries folder.

To fix that I’ve made the linking part myself on IOS(Android worked fine with the link). To do that, you right click your Libraries folder in xcode, and select “Add Files to [your project name]”, it will ask you which file you are willing to import… you go to your node_modules files in your project (assuming you already have added the react-native-text-input-mask and installed it) you find the react-native-text-input-mask project and search for RNTextInputMask.xcodeproj, click ok to import. Now you have this library imported in your project, and we must include it in the build phases. To do that you have to go to the “general” tab in xcode and drag and drop the libRNTextInputMask.a that is in the RNTextInputMask.xcodeproj > Products > libRNTextInputMask.a to your Linked Frameworks and Libraries. Clean your project and rebuild it, and its done.

It worked for me, idk if it will for everyone.

7reactions
catamaicancommented, Oct 21, 2018

Since I got the lib linked (I think so)… I got this error: undefined is not an object (evaluating '_reactNative.NativeModules.RNTextInputMask.mask') @ivanzotov , do you have any idea?

Confirm getting the same issue with a clean install

image

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 >
[iOS - RN 0.61.1 migration] React/RCTBridgeModule.h file not ...
When you go to scheme -> edit scheme -> build. Do you have see React (missing) ? If so, i might have a...
Read more >
React/RCTBridgeModule.h file not f… | Apple Developer Forums
node_modules/react-native/Libraries/Vibration/RCTVibration.h:10:9: 'React/RCTBridgeModule.h' file not found. Why the build process is different between the ...
Read more >
[Solved]-`React/RCTBridgeModule.h` file not found-Reactjs
Coding example for the question `React/RCTBridgeModule.h` file not found-Reactjs.
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