Replies: 1 comment
-
Hey @JJonyeok2! The error log you pasted shows the issue in the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to enable the New Architecture (Fabric) on my React Native 0.72.17 project, but I am running into build errors on iOS.
Depending on the versions of react-native-safe-area-context, react-native-reanimated, and react-native-gesture-handler, I get different errors,
but they are all related to C++ compilation.
Environment
Problem
After enabling Fabric and running RCT_NEW_ARCH_ENABLED=1 pod install, the iOS build fails.
Initially, with [email protected], the error was 'ReactCommon/RCTTurboModule.h' file not found.
After attempting to fix this by downgrading libraries to the versions listed above, I am now seeing a different set of C++ compilation errors.
Steps to Reproduce
Actual Behavior
The build fails with C++ compilation errors.
(Please choose the most recent error you received and paste it here. For example:)
1 <Please paste the full, complete error log from Xcode here.>
2
3 e.g., /Users/jeonjonghyeok/MyTestApp/node_modules/react-native-safe-area-context/common/cpp/react/renderer/components/safeareacontext/
RNCSafeAreaViewShadowNode.cpp:11:17 Expected namespace name
Supporting Files
package.json
1 // Please paste the entire content of your package.json file here
ios/Podfile
1 // Please paste the entire content of your Podfile here
Any help or guidance on the correct combination of library versions for RN 0.72 with Fabric would be greatly appreciated. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions