EN VI

Ios - Use of bitwise '|' with boolean operands in React Native while building in xcode?

2024-03-16 16:30:05
How to Ios - Use of bitwise '|' with boolean operands in React Native while building in xcode

enter image description here

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

Solution:

Answer

Login


Forgot Your Password?

Create Account


Lost your password? Please enter your email address. You will receive a link to create a new password.

Reset Password

Back to login