I’m facing the “BoringSSL-GRPC”

Describe the Bug

I’ve spent almost 12 hours on cursor trying to resolve this issue, but it’s still not fixed.
I’m facing the “BoringSSL-GRPC” error after installing the following dependency:
@react-native-firebase/firestore”: “^16.4.6”

Error Message
CompileC [path]/tls_record.o [path]/tls_record.cc normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target ‘BoringSSL-GRPC’ from project ‘Pods’)

Steps to Reproduce

Fresh React Native project (or existing project)

Install:

bash
npm install @react-native-firebase/app @react-native-firebase/firestore
cd ios && pod install
Attempt to build for iOS simulator:
npx react-native run-ios

Actual Behavior:

Expected Behavior

Successful build and launch of iOS app with Firebase Firestore integration.

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T16:53:59.659Z (19 hrs ago)
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 23.5.0

Additional Information

Actual Behavior:
Build fails with BoringSSL-GRPC compilation error.

Attempted Solutions (that didn’t work):

Clean rebuilds (node_modules, pods, derived data)

Multiple Podfile configurations:

Header path adjustments

BUILD_LIBRARY_FOR_DISTRIBUTION=YES

Compiler flag modifications

Xcode build system changes

Architecture/exclusion modifications

Additional Context:

Occurs on both new and existing projects

Reproducible across multiple machines

Only affects simulator builds (device builds work)

Similar to known Firebase iOS SDK issues but persists with latest versions

Request:
Need guidance on:

The root cause of this specific compilation failure

A verified solution that works with React Native projects

Any required compatibility adjustments between RN Firebase and iOS build systems

Does this stop you from using Cursor

No - Cursor works, but with this issue