react-native-text-input-mask: RCTSinglelineTextInputView.h file not found (RNTextInputMask.m)

Hello there. I’ve done the steps in the docs, but no luck, my project on iOS won’t build

#import "RCTSinglelineTextInputView.h"

in file RNTextInputMask.m (line 13)

Versions: “react-native-text-input-mask”: “^0.7.0”, “react-native”: “0.52.x”, “react”: “16.2.0”, Also using react-native-navigation if this matters

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 11
  • Comments: 15

Most upvoted comments

I found the solution. Make sure import of libRNTextInputMask.a after the libRCTText.a. 😄

Thanks. Ekran Resmi 2019-04-11 11 50 33

Facing the same issue here as well, seems to come up out of no where. Have had no prior build issues but am getting it today randomly with no code changes.

I’m having this also

I have resolved my issue by doing the following step.

  1. As @dogukankotan mention I found the solution. Make sure import of libRNTextInputMask.a after the libRCTText.a.
  2. add InputMask.framework - Go Library in Xcode -> RNTextInputMask.xcodeproj -> Under TARGETS(RNTextInputMask) -> Build Phases -> Link Binary With Libraries.

Roll back to version 0.5.2 worked for me