Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

React Native Pod conflict with libevent #1916

@janicduplessis

Description

@janicduplessis

🐛 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions