react-native-blurhash icon indicating copy to clipboard operation
react-native-blurhash copied to clipboard

Add React-RCTImage dependency

Open danilobuerger opened this issue 2 years ago • 3 comments

Blurhash imports RCTImageLoader which is part of React-RCTImage. This fixes failing builds with use_frameworks! (cocoapods) enabled.

danilobuerger avatar Mar 07 '22 18:03 danilobuerger

This doesn't seem to work once use_frameworks! is disabled:

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

The Swift pod `react-native-blurhash` depends upon `React-RCTImage`, 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.

need to investigate more.

danilobuerger avatar Mar 08 '22 09:03 danilobuerger

Ah yeah, I remember having this issue a while back. :/

mrousavy avatar Mar 09 '22 09:03 mrousavy

I'll publish a release with your other change for now, thanks

mrousavy avatar Mar 09 '22 09:03 mrousavy