Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Build failed with 'openssl_grpc/base.h' file not found #97

Open
Bob-JZhao opened this issue Sep 4, 2023 · 7 comments
Open

Bug: Build failed with 'openssl_grpc/base.h' file not found #97

Bob-JZhao opened this issue Sep 4, 2023 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@Bob-JZhao
Copy link

Describe the bug

After run 'yarn add @xmtp/react-native-sdk' got 'openssl_grpc/base.h' file not found error when build the app.

I am using bare react-native app and follow https://docs.expo.dev/bare/installing-expo-modules/ install the related expo module

image

Expected behavior

No response

Steps to reproduce the bug

No response

@Bob-JZhao Bob-JZhao added the bug Something isn't working label Sep 4, 2023
@fabriguespe fabriguespe self-assigned this Sep 6, 2023
@hyang74
Copy link

hyang74 commented Sep 9, 2023

cc @fabriguespe
looks like a firebase-related issue: jmcnamara/libxlsxwriter#342

@graphicstone
Copy link

Any solution to this issue, I am also stuck with the same issue.

I am using Flutter, and adding Web3Auth is giving me this same error.

@alexrisch alexrisch self-assigned this Jan 5, 2024
@VIVEK-SUTHAR
Copy link

I am also facing the same Issue.
image

I am using Expo SDK 48 With Expo Prebuild
And Already Set the deploymentTarget to 16.0
Tried to clean build , but it fails with the same error

@VIVEK-SUTHAR
Copy link

I tried to create a minimal reproducible example.

When I added @react-native-firebase/firestore": "^16.7.0", the build started to fail.
Upon inspecting the Pods, I observed that adding firestore introduced the BoringSSL-GRPC Pod.

Subsequently, when I attempted to build the project, it failed with the error stated in above comment. However, if I remove it, the build is successful.

Here's the my environment info

expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 14.0
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.19.0 - /opt/homebrew/opt/node@18/bin/node
      Yarn: 1.22.19 - /opt/homebrew/bin/yarn
      npm: 9.9.2 - ~/Documents/Projects/personal/rn-xmtp/node_modules/.bin/npm
      Watchman: 2023.12.04.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.13.0 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 23.0, iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0
    IDEs:
      Android Studio: 2022.3 AI-223.8836.35.2231.10811636
      Xcode: 15.0.1/15A507 - /usr/bin/xcodebuild
    npmPackages:
      expo: ~48.0.21 => 48.0.21 
      react: 18.2.0 => 18.2.0 
      react-native: 0.71.14 => 0.71.14 
    npmGlobalPackages:
      eas-cli: 5.9.3
      expo-cli: 6.3.10
    Expo Workflow: bare

@alexrisch
Copy link
Contributor

Hello! 👋 Thank you for the additional information, for my understanding, if you remove the xmpt react native package is it still erroring on pod install?

@VIVEK-SUTHAR
Copy link

Yea, When We have not added the XMTP Package In the App, The build was fine.
Here is my observation

  1. For testing, I bootstrapped one example app with same config as current app, and added XMTP SDK,The Build was fine, and as soon as I add @react-native-firebase/firestore , the build fails.
  2. If I remove the @react-native-firebase/firestore or XMTP SDK , the build is fine.

From this, I guess that there is dependency conflict between @react-native-firebase/firestore and XMTP SDK

@UnsignedInt8
Copy link

image

Same issue here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants