react-nativereact-native-iosflipper

React Native Build Error on IOS - typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')


After upgrading React Native from 0.61.5 to 0.63.2, Flipper causes an error on IOS as typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t')

On github there are a few proposed answers but none of them solved my problem https://github.com/facebook/flipper/issues/834

Is there anyone figured out how to solve this?

Many thanks


Solution

  • Note that if you have use_frameworks! enabled, Flipper will not work and you should disable these next few lines in your Podfile.

      # use_flipper!
      # post_install do |installer|
      #   flipper_post_install(installer)
      # end