I’m trying to build my ReactNative application for IOS using Bitrise and Xcode build pipelines.
Is there any way to skip this issue on CI/CD pipelines?
I’m getting this on Xcode and Bitrise both pipelines.
/Users/[REDACTED]/git/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.cpp:2285:9: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
Xcode Archive & Export for iOS
2
Answers
I had this issue a few weeks ago; all of a sudden, my TestFlight builds stopped working. It turns out I had set my builds to use the latest Xcode version in this case 14.3RC, I changed back to 14.2 (14C18) and my builds started working again
This is an issue in Yoga v1.18, fixed in v1.19. See Here.
You can either patch ReactCommon to fix the bug or update react-native to latest and see if that fixes it.