[iOS] build fail when includesGeneratedCode is false #807
Answered
by
LuongTruong
LuongTruong
asked this question in
Q&A
|
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! |
Answered by
LuongTruong
Apr 4, 2025
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 |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @satya164 ,
After doing research for a few days, I finally found away to keep the
codegenConfig->outputDirstay 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