Build fails when new architecture is enabled and useFrameworks = static
Hello, thanks a lot for the work.
I get this issue when I try to make a build with the new architecture and useFrameworks = static.
❌ (node_modules/@vonovak/react-native-theme-control/ios/RNThemeControl.h:3:11)
1 |
2 | #ifdef RCT_NEW_ARCH_ENABLED
> 3 | #import <RNThemeControlCGen/RNThemeControlCGen.h>
| ^ 'RNThemeControlCGen/RNThemeControlCGen.h' file not found
4 | #else
5 | #import <React/RCTBridgeModule.h>
6 | #endif
Any help rendered towards this would be greatly appreciated. Happy to compensate for it too.
Can you please create a Minimal, Reproducible Example that we can see the issue with? The most effective reproducible examples are created by starting a new project from scratch and adding in only the necessary pieces to reproduce the issue.Thank you
Hi @vonovak, thanks for getting back to me. I will work on that and share soon.
Hello, did you make it work?
Hi @vonovak yes I did. Sorry I didn't give the feedback. It turns out the issue wasn't really with the plugin even. Fixing something else ended up fixing this.