-
Notifications
You must be signed in to change notification settings - Fork 24.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
duplicate symbol 'folly::exception_wrapper::from_exception_ptr(std::exception_ptr&&)' React Native 0.66 with hermes enabled #32333
Comments
I got the same error even in v0.65 |
For 0.65 try this fix: react-native-community/releases#235 (comment) |
Same here. Error: |
While this issue is addressed, you can disable flipper:
in your Podfile and reinstall Pods |
Not sure how other people are not facing this issue, Most probably because they are not using hermes or flipper !! |
@umang-simform no issues here. I use Flipper and Hermes. I use Intel macs and M1 macs. This works for me compiling it in all sorts of ways https://github.com/mikehardy/rnfbdemo/blob/master/make-demo.sh as does https://github.com/mikehardy/rnfbdemo/blob/master/notifee-demo.sh Maybe you have some unsupported configuration of flipper modules. Please don't tag me again, I have nothing to add. |
Sorry to tag you directly, obviously not gonna happen again, Only reason I tagged you was that I have used scripts made by you earlier, I will explore more on my side |
Closing this issue as it seems an issue with file paths in the Xcode project file. Need to make those changes manually in order to get rid of this error. |
@umang-simform Could you elaborate? |
@umang-simform yes, multiple people have this problem, if you could give us more detail it would be very helpful |
@escobar5 @samih7 The way I solved the issue is by modifying |
@umang-simform enabling dead code deletions would cause debugging issues IMO |
We ended up recreating the I confirm this is also not present in the This is a change that occured in RN 0.62.0, this commit in particular : e3218a0#diff-5e5f05dcdf7a14aea292c3172649e6a220923662fdb41d409997c37da721d27eL505, so I'm not sure it would cause debugging issues if this was a change related to Flipper. Even if I find it weird to activate this setting in a debug configuration, but whatever. XCode and Switching it to |
Mystery solved! Great analysis |
Removing |
Yes, I forgot to mention that one, But the main thing is we need to analyse the |
I also ended up updated to Xcode 13 to get this working on my machine. |
I am already using xcode 13, Liking it so far :) |
You are a legend, thank you! |
This is exactly it! Great experiments to find out the reasons behind this weird behaviour that wasted so much of my time to debug it. |
I am remove DEAD_CODE_STRIPPING = NO, is resolved problem, version 0.69.5 |
Description
I was on 0.65.1 (with Hermes enabled) and tried to perform an upgrade to 0.66 today and after performing all necessary changes as mentioned in upgrade helper, I finally performed a clean install and tried to run the app and now it is not working anymore, It is throwing duplicate symbol errors related to flipper between RCT-folly and Flipper-folly.
Also, I faced a similar issue when I upgraded to 0.65.1 but at that time this fix worked: react-native-community/releases#235 (comment)
I tried this here but doesn't seems working
Here is the error from Xcode:
React Native version:
Run
react-native info
in your terminal and copy the results here.Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
2.Build/Run the project
Expected Results
It should build/run just fine without throwing error
Snack, code example, screenshot, or link to a repository:
Here is my podfile
The text was updated successfully, but these errors were encountered: