You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to use the command pod install in ios folder, it happens.
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `RNImageColors` 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.
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `RNImageColors` 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.
Environment info
Library
Version
react-native-image-colors
1.5.1
rreact
16.13.1
react-native
0.63.2
Steps To Reproduce
npm i --save -E react-native-image-colors@latest
cd ios
pod install
Reproducible sample code
n/a
The text was updated successfully, but these errors were encountered:
Add "DEFINES_MODULE" => "YES" to s.pod_target_xcconfig
Though the safest solution remains upgrading RN as I dont have the full context about this issue. e.g. I don't know if the above could cause other issues in your project.
Bug
Environment info
Steps To Reproduce
npm i --save -E react-native-image-colors@latest
cd ios
pod install
Reproducible sample code
n/a
The text was updated successfully, but these errors were encountered: