flipper: [iOS] Build errors in a React Native app

🐛 Bug Report

I’ve a lot of these types of build errors if I integrate Flipper in my RN app:

  • Could not build module ‘Darwin’
  • Redefinition of module ‘fmt’
  • Could not build module ‘CoreFoundation’
Screenshot 2023-05-25 at 12 23 06

I also found an issue in the React Native GitHub, but I think is somehow related to Flipper because if I comment the integration in the Podfile, the errors disappear

To Reproduce

  • add flipper integration in Podfile :flipper_configuration => ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled
  • launch ‘pod install’
  • Run the app in XCode

Environment

RN - 0.71.7 Flipper - 0.125.0

About this issue

  • Original URL
  • State: open
  • Created a year ago
  • Reactions: 10
  • Comments: 22

Most upvoted comments

same issue xcode 15.0.0 and RN 0.73.1

  • Flipper (0.201.0):
  • Flipper-Folly (~> 2.6)

working fine when comment this line flipper_configuration => flipper_config

I resolved this by downgrade Xcode from 14.3 to 14.2, Hope can help.

same issue(3) I thought use_framework! was the reason for this. It’s not. Disabling the flipper was the only option.