Just enabling new architecture for fabric component results in Undefined symbol: _RTNMyPdfDisplayCls #118
-
I created a new react native project. I have created fabric components for the new architecture previously as well but suddenly from yesterday I am facing issue saying Also I have tried cleaning my iOS project multiple times, try deleting node_modules,yarn.lock, pods and pod file.lock as well
Now when I run yarn iOS I get error Full project over here The app should at least run even though I have not written any objective c code but did the setup for my fabric component Let me know what I am missing. Here is a proof of fabric components working for me previously |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @BraveEvidence, and thank you for your issue. When installing the pods, with
Among the various Codegen actually generates some Objective-C and C++ code for you and it expect for you to fill in the blanks of what it requires, among which there is that method that needs to be implemented. |
Beta Was this translation helpful? Give feedback.
Hi @BraveEvidence, and thank you for your issue.
Your project can't work until you actually write some Objective-C.
When installing the pods, with
RCT_NEW_ARCH_ENABLED=1 bundle exec pod install
you are actually running Codegen. You can see it in the logs, where you should see something like this: