Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Swift pod react-native-text-input-mask depends upon React-Core #265

Open
eakarpov opened this issue May 12, 2022 · 1 comment
Open

Comments

@eakarpov
Copy link

On IOS I get the following error while installing pods

[!] The following Swift pods cannot yet be integrated as static libraries:

The Swift pod react-native-text-input-mask depends upon React-Core, 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.

@manfredxu99
Copy link

make sure you have both these lines in your Podfile

pod 'React-RCTText', :path => '../node_modules/react-native/Libraries/Text', :modular_headers => true
pod 'React-Core', :path => '../node_modules/react-native/', :modular_headers => true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants