I added this package to my project ‘react-native-text-input-mask’ and suddenly the EAS build is failing with this error:
The Swift pod
react-native-text-input-mask depends upon
React-RCTText, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set
use_modular_headers! globally in your Podfile, or specify
:modular_headers => true for particular dependencies.
I understand that I need to run these two pod commands:
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text', :modular_headers => true pod 'React-Core', :path => '../node_modules/react-native/', :modular_headers => true
But I am not sure how to integrate this in the EAS build.