-
Notifications
You must be signed in to change notification settings - Fork 39
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
Build Failure with React Native and Rollbar Integration - ‘RollbarCrash’ Module Issues #202
Comments
Here is the demo repository https://github.com/tawanorg/react-native-with-rollbar |
@tawanorg I'm looking into this right now, I'll try to get a fix asap. Thank you so much for this. |
@tawanorg So, the problem here is two-fold:
Cocoapods suggests this when using dynamic framework linkage, but the suggestion is wrong. So delete those two lines.
|
@tawanorg Please refer to this comment for the solution: #199 (comment) |
I'll close this issue as soon as you confirm you got things working on your side. Any other issue you're seeing, don't hesitate communicating, I'll do my best to fix things asap for you. |
Description
I'm encountering build failures when integrating Rollbar into a bare-minimum React Native project. The error seems to stem from the
RollbarCrash
module, causing build failures in both the terminal and Xcode workspace.Steps to Reproduce:
react-native run-ios
in the terminal.xcworkspace
in Xcode and building from there.Expected Behavior
The project should build successfully with Rollbar integrated.
Actual Behavior
The build fails after installing Rollbar. Below are the specific errors from Xcode:
Module ‘RollbarCrash.RollbarCrashThread’ requires feature ‘objc’
and moreThis error is repeated multiple times for various symbols within
RollbarCrash
. The project builds without Rollbar installed, but after adding the Rollbar dependencies, neither the terminal nor Xcode will build the project successfully.Please see the attached screenshots of the error messages in Xcode and the terminal for more details:
Dependencies:
Environment
16
15.0.1
20.15.1
Podfile Configuration:
The text was updated successfully, but these errors were encountered: