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
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
STEP 1:
Go to YOUR_PROJECT > ios > Podfile
and then comment these lines
# use_flipper!()
# post_install do |installer|
# react_native_post_install(installer)
# __apply_Xcode_12_5_M1_post_install_workaround(installer)
# end
STEP 2:
after step 1 you have to run pod update
command on YOUR_PROJECT > ios
path.
Bingo its done.
IMPORTANT
In case you get some errors after doing above 2 steps,
YOUR_PROJECT > ios > YOUR_PROJECT_NAME >
and run this commandplutil ./Info.plist
it will show you where the issue is.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With