[iOS] build fail when includesGeneratedCode is false #807
-
I create a new react native library using the below cmd
Step by step to reproduce:
I check and see that the The error is gone, but when I build the MyCodegenExample, there are 2 errors:
Please let me know if you have any idea to solve the issue. Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Have you followed these steps? https://callstack.github.io/react-native-builder-bob/faq#how-to-opt-out-of-shipping-codegen-generated-code |
Beta Was this translation helpful? Give feedback.
Hello @satya164 ,
After doing research for a few days, I finally found away to keep the
codegenConfig
->outputDir
stay the same. Therefore, no more issue appear.Following, I also share how to config a library for Android in this link - Trouble Shoot section.
Thanks to the new version of create-react-native-library: 0.49.0