It shows the above error in Xcode
Update the Yoga package to v1.19.0,
Use patch-package for development ease
Add postinstall script to package.json file with patch-package call
Edit react-native/ReactCommon/yoga/yoga/Yoga.cpp to fix the issue with incorrect operator used Execute npx patch-package react-native to generate .patch file Make sure to add patches/ directory to git