React Native Pod conflict with libevent
See original GitHub issue🐛 Bug Report
The libevent pod conflicts with the one used by react-native when Hermes is enabled on iOS. To avoid the conflict cocoapod installs Flipper-Folly@2.5.0 which cause a build error. Forcing it to install 2.5.1 causes a conflict error when running pod install.
https://github.com/facebook/flipper/blob/master/iOS/Podspecs/Flipper-Folly.podspec#L20
https://github.com/facebook/react-native/blob/master/scripts/react_native_pods.rb#L67
To Reproduce
In a RN app enable hermes in the Podfile (use_react_native!(:hermes_enabled => true,)
). Update pods and see version 2.5.0 of Flipper-Folly is installed instead of latest 2.5.1. In my case this also cause a build error later.
Environment
Flipper@0.74.0 react-native@2aab894acf83732591de861ee29f3ddbd25546c4
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
'event2/event-config.h' file not found - react native
When I do as you suggested, it created the Podfile.lock with the same data as before I delete it (with libevent rather than...
Read more >Resolving CocoaPods issues in React Native project
The goal of this blog is to provide steps to help you resolve commonly faced issues related to CocoaPods in React Native projects....
Read more >Troubleshooting · React Native
This page contains resolutions to common problem you might face when migrating to the New Architecture.
Read more >Swift Package Manager (SPM) and Cocoapod Dependency ...
[Answer]-Swift Package Manager (SPM) and Cocoapod Dependency Conflict-swift ... text box with transparent background on top of image in React Native iOS ...
Read more >pod-patch
Patching the Pod specfiles in ReactNative projects. ... Checks if there is no version conflicts in your Podfile and .patch file, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yea, I think so. I can open a PR to make this change.
Feel free to reopen an issue, if it doesn’t solve the problem