-
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 symbols after upgrading react-native #23613
Comments
I'm having the same problem. Upgrading from a custom 0.56.0 build to 0.58.5 |
@fuzunspm Okay my project is working again |
I was trying to fix this for a few days but today I just gave up and removed iOS folder then re built it with tons of settings I had to configure but in the end it’s running again |
Hello there 👋 by using the repro / the list of steps to reproduce, we can't actually see the reported bug on RN 0.59.5 so we'll close this issue. It may have something to do with your local setup, please double check that you are using the correct version of Android Studio / XCode / Android NDK / Yarn / etc. |
had the same issue but @reyalpsirc 's fix worked for me |
@noway This actually fix my issue, thanks! But also gave me the error |
For me, delete all |
@defghy That shit worked, have a rocket! |
rm -rf Podfile.lock works for me. |
@defghy Removing the linked binary causes the application not to build when developing, only when archiving, but the funny thing is I have Pods installed, so I don't understand why it's requiring the Linked Binary when building for development, also even if it archives when I remove the linked binaries I think it will only crash, when a user installs it. Will be going to 3 weeks now and I've been exactly here, done with my clients app but can't upload to the AppStore, I honestly am starting to look at using Flutter, RN has given me way too many problems developing, now I just feel stupid convincing my friends to learn RN instead of Flutter. Most things aren't explained and prior knowledge of how iOS or Android development works is just assumed when in reality most of the people who choose to use React Native are web devs who want to enter the mobile dev world, but I digress. |
Do you mean to delete them from the Libraries folder or remove them from Link Binary in Build Phases? |
@steinarsa Did you delete them from the Libraries folder or remove them from Link Binary in Build Phases? |
Delete items from Link Binary in Build Phases works for me. |
@tonynguyenit18 I was able to resolve my issue, here's the link to the answer on StackOverflow for anyone who tried everything here and it didn't work. |
@defghy Thanks. Worked like a charm. |
do not use pod install. instead, In Libraries folder drag .xcodeproj of the library from node modules. This helped me and it always works. |
I upgraded to RN0.60.4, and I had to delete every |
Thanks it work like charm! |
🐛 Bug Report
Today after i upgraded my react-native via
react-native-git-upgrade
i'm getting duplicated symbols forlibFolly.a
andlibReact.a
files.Edit: it works on android
Error Output
To Reproduce
building the app from xcode or by running
react-native run-ios
Expected Behavior
able to build and run the app as before upgrading react-native
Code Example
Podfile
Environment
Linked Frameworks
The text was updated successfully, but these errors were encountered: