android – Can’t construct react native on Mac Ventura 13.4

0
50


Hey react native and cellular builders!

I’m at the moment engaged on react native utility and it really works with android, additionally labored on Mac 11, however when I attempt to construct on Mac OS 13.4 It failed with beneath errors.

In an effort to repair points, I up to date ruby model from some references (from 2.7 to three.2.0 utilizing rbenv)

** BUILD FAILED **


The next construct instructions failed:
    CompileC /Customers/consumer/Library/Developer/Xcode/DerivedData/SynkBooks-bghxbttcyzckrieohotoymzblpqz/Construct/Intermediates.noindex/Pods.construct/Debug-iphonesimulator/React-Codegen.construct/Objects-normal/x86_64/FBReactNativeSpec-generated.o /Customers/consumer/Desktop/Work/synkbooks_app_v1/ios/construct/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm regular x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in goal 'React-Codegen' from mission 'Pods')
(1 failure)
]

npx react-native information

System:
    OS: macOS 13.4
    CPU: (16) x64 eleventh Gen Intel(R) Core(TM) i7-11700 @ 2.50GHz
    Reminiscence: 310.96 MB / 31.63 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.16.0 - ~/.nvm/variations/node/v18.16.0/bin/node
    Yarn: 1.22.19 - ~/.nvm/variations/node/v18.16.0/bin/yarn
    npm: 9.5.1 - ~/.nvm/variations/node/v18.16.0/bin/npm
    Watchman: 2023.05.22.00 - /usr/native/bin/watchman
  Managers:
    CocoaPods: 1.12.1 - /Customers/consumer/.rbenv/shims/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    Android SDK: Not Discovered
  IDEs:
    Android Studio: 2022.2 AI-222.4459.24.2221.10121639
    Xcode: 14.3/14E222b - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.19 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Discovered
    react: 18.2.0 => 18.2.0 
    react-native: 0.71.4 => 0.71.4 
    react-native-macos: Not Discovered
  npmGlobalPackages:
    *react-native*: Not Discovered

Any strategies can be useful. Thanks