-
Notifications
You must be signed in to change notification settings - Fork 1.5k
duplicate symbol _OBJC_IVAR_$_SSZipArchive._zip in: #241
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
Comments
Hi @chirag04 (and anyone else who could be hitting this issue), The full workaround is to
Closing this, feel free to reopen if this does not work for you. |
@geof90 well this work but everytime i npm install i would need to delete the folder and set the path again. Can we do one time setup? |
@chirag04 Sorry for the late reply, I somehow missed this. The best way I see to prevent having the manual deletion step is to make a fork of our project, delete the folder in that fork, and then specify your fork's github URL as a dependency in your package.json. |
This solution seems less than ideal. Why does this project need to vendor ie some equivalent of |
@cancan101 It's definitely non-ideal. Unfortunately, Which NPM package is creating the conflict for you? Are you also trying to use |
Yes, am trying to use The reason that I don't want to install |
I'm the author of react-native-zip-archive. I'm also facing this problem today since we are integrating CodePush to our own app. Honestly, I'm not familiar with native development and I don't know how cocoapod solve this dependency so is there anything I can do with that? I'm so willing to fix this with codepush team. |
From the codepush-docs:
Have you tried this out? |
@itinance I haven't tried that approach yet. But I think not every rn users use cocoapod, so I still want to try some other solutions. My colleague told me that since the linker in xcode identifies code by its class names so I changed the class name of If any user is facing the same issue then you can install Still trying to find a better solution... |
@geof90 This is still a significant problem. Is there yet a good solution that does not require constant management of this package just so it does not conflict with other react native modules? Delete the SSZipArchive and update the search path, which gets overwritten on ever npm install Create fork, do your own builds. When keep track of updates to parent get and merge changes any time you need them. Both solutions incur significant cost on any team that runs into this issue. @plrthink Have you had any success on finding a work around on your end? |
@RoosterKelly I have just pushed the next branch which should fix this issue. You can install it via |
For folks still use some workarounds to solve this issue, please update |
I upgraded my project to RN 0.56 and CodePush 5.4.0. The build blew up complaining of duplicate symbol errors for Base64, JWT and SSZipArchive. itinance's suggestion of My app isn't using react-native-zip-archive so I'm not sure what's pulling that in. Maybe because CodePush.xcodeproj is included under the project's Libraries? |
@geof90 @chirag04
can you please suggest something here ? |
@VrajSolanki If your react native is above version 60 you can simply use the latest version of there two libraries which would solve the problem automatically. |
I get the above issue when configuring codepush. We are also using https://github.com/plrthink/react-native-zip-archive which also rely on
SSZipArchive
.cc @lostintangent
The text was updated successfully, but these errors were encountered: