Closed yashdiq closed 2 weeks ago
Be sure that RN codegen properly ran.
Run https://www.npmjs.com/package/react-native-clean-project if required.
Hello @yashdiq
Did you manage to solve the problem?
I'm facing the same issue but can't see anything wrong during RN codegen. When I comment out Bootsplash, everything builds correctly.
not yet @nagykrisztianendre, it's been days and what @zoontek suggested is not working.
Hello @yashdiq
I was able to solve the problem on my end. The root cause was indeed related to the codegen, specifically because the files were not correctly compiled. To solve the issue, I changed the setting in Xcode under Build Settings -> Apple Clang - Language -> Compile Sources As to 'Objective-C++' instead of 'According to File Type,' and everything built successfully after that.
I hope this solution works for you as well.
Hi @nagykrisztianendre I wanna try your workaround above but I can't see this option: Build Settings -> Apple Clang - Language -> Compile Sources As to 'Objective-C++'. Can you give me the screenshot of your XCode?
Yes. @yashdiq Here it is:
Thanks bro @nagykrisztianendre found it.
Still the same 😂
Have you tried running pod install before rebuilding the project?
Before submitting a new issue
Bug summary
I found this error when running on RN 0.76.1 as attached in the screenshot.
Library version
6.2.6
Environment info
Steps to reproduce
Reproducible sample code