[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `VisionCamera` depends upon `react-native-worklets-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.
The app builds and run correctly if i install vision-camera only, or worklets-core only. But when i try to use both - it fails in pod-install:
i've tried to set use_modular_headers! to Podfile and seems like other modules ain't like this move, so then i've tried :modular_headers => true for specific pods e.g. VisonCamera and WorkletsCore, both and separately. still got error
i've tried to remove all build caches from xcode, removed ios, android folders, node_modules, yarn.lock and reinstall everything, and still got this error
The error:
The app builds and run correctly if i install
vision-camera
only, orworklets-core
only. But when i try to use both - it fails in pod-install:i've tried to set
use_modular_headers!
to Podfile and seems like other modules ain't like this move, so then i've tried:modular_headers => true
for specific pods e.g.VisonCamera
andWorkletsCore
, both and separately. still got errori've tried to remove all build caches from xcode, removed ios, android folders, node_modules, yarn.lock and reinstall everything, and still got this error
note: that worklets inits for android fine
versions:
"react-native-vision-camera": "^4.5.2", "react-native-worklets-core": "^1.3.3",
Environment:
Dependencies
Expo build properties plugin config: