mrousavy / react-native-vision-camera

πŸ“Έ A powerful, high-performance React Native Camera library.
https://react-native-vision-camera.com
MIT License
7.31k stars 1.07k forks source link

πŸ”§ RCT_NEW_ARCH_ENABLED=1 failed pod install #3002

Closed wogno closed 3 months ago

wogno commented 3 months ago

How were you trying to build the app?

I tried to enable new architecture but pod install failed, my command bundle install && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install, when I disabled new architecture pod install work well, but video-camera required new architecture

Full build logs

[!] 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.

Project dependencies

"dependencies": {
"@shopify/react-native-skia": "^1.3.6",
 "@wuba/react-native-echarts": "^1.3.1",
"react-native": "0.74.2",
"react-native-vision-camera": "^4.3.2",
    "react-native-worklets-core": "^1.3.3"
}

VisionCamera Version

4.3.2

Target platforms

iOS

Operating system

MacOS

Can you build the VisionCamera Example app?

I didn't try (⚠️ your issue might get ignored & closed if you don't try this)

Additional information

maintenance-hans[bot] commented 3 months ago

Guten Tag, Hans here.

[!NOTE] New features, bugfixes, updates and other improvements are all handled mostly by @mrousavy in his free time. To support @mrousavy, please consider πŸ’– sponsoring him on GitHub πŸ’–. Sponsored issues will be prioritized.

mrousavy commented 3 months ago

Please create this issue in react-native-worklets-core - it's not a VisionCamera error. Also, maybe set use_modular_headers! in your Podfile