Skip to content
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 for architecture x86_64 #74

Closed
jp928 opened this issue Nov 1, 2021 · 8 comments
Closed

duplicate symbols for architecture x86_64 #74

jp928 opened this issue Nov 1, 2021 · 8 comments

Comments

@jp928
Copy link

jp928 commented Nov 1, 2021

react-native-blob-util: 0.13.16
react-native: 0.66.1

duplicate symbols for architecture x86_64
@jp928 jp928 closed this as completed Nov 1, 2021
@vladimirperepelytsia
Copy link

@jp928 I have same error, please say how did you fix it?

@jp928
Copy link
Author

jp928 commented Nov 5, 2021

@vladimixz I forgot to remove the deprecated rn-fetch-bolb. This will cause duplicated symbol.

@Anujmoglix
Copy link

Anujmoglix commented Nov 23, 2021

But I am using rn-fetch-bolb in my app and it is working fine. I don't want to remove it because that functionality is working fine. What should I do ?

@jp928
Copy link
Author

jp928 commented Nov 23, 2021

@Anujmoglix This library is an alternative of rn-fetch-bolb. you have to choose one to go forward not both.

@aallvi
Copy link

aallvi commented May 13, 2022

@Anujmoglix This library is an alternative of rn-fetch-bolb. you have to choose one to go forward not both.

what library??

@Anujmoglix
Copy link

@aallvi use either react-native-blob-util or rn-fetch-blob . You can't use both in package.json Try to remove rn-fetch-blob because it is not maintained now.

@tonhao-dev
Copy link

@vladimixz I forgot to remove the deprecated rn-fetch-bolb. This will cause duplicated symbol.

This works for me, thank you so much

@ManosChr
Copy link

Before deleting rn-fetch-blob, you need to search for other package dependencies, otherwise it will be deleted from package.json file but not from node_modules folder.

  1. Press npm list --depth=2 at project root folder and search for packages with dependency on rn-fetch-blob
  2. In my case was redux-persist-filesystem-storage
  3. Update redux-persist-filesystem-storage to latest version which depends on react-native-blob-util
  4. npm uninstall rn-fetch-blob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants