Closed csppopa closed 3 years ago
UPDATE:
the second error can be solved exactly like here while the problem is fixed:
As per the documentation, use_frameworks!
is the recommended way to use it, If you're having an issue with use_frameworks!
as part of your project, that is outside the scope of this project.
I fixed this issue by doing the following instal the
yarn add react-native-text-input-mask
then put it in ios/podfile
pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text', :modular_headers => true
Any question go to the readem.md of the react-native-text-input-mask library in your node_modules, it has the information you shoud use
when doing pod install i get the following error: [!] The target has transitive dependencies that include statically linked binaries:
if i remove 'use_frameworks!' i get the following error:
The Swift pod
react-native-text-input-mask
depends uponReact-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 setuse_modular_headers!
globally in your Podfile, or specify:modular_headers => true
for particular dependencies.version: 3.0.3 platform: ios