Xcode cloud and Bitrise CI/CD fails : Use of bitwise '|' with boolean operands

3k Views Asked by At

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]

Bitrise Issue Image

Xcode Issue Image

Xcode Archive & Export for iOS

2

There are 2 best solutions below

0
Alfa On

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)14.2 (14C18) and my builds started working again

0
Tristan O'Keefe On

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.