-
Notifications
You must be signed in to change notification settings - Fork 424
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 #443
Comments
please remove @react-native-community/viewpager from package.json,the build success |
i'm follow this step:
|
Could you provide your package.json file ? it seems like some dep uses it |
this is my deps |
I've got the same problem since few days and every time I install a new package. It only happens on IOS build, not with Android build. Once in five, after uninstalling and reinstalling everything, the build works, but if you add a new package, the build failed again. I tried almost everything, deleting node_modules, pods, reinstalling, killing processes etc... What worked a few times was to do:
But the problem comes back with each modification of packages. My package.json. The stack trace on build: duplicate symbol 'OBJC_CLASS$_RCTOnPageScrollEvent' in: EDIT: @ikimiler solution is working for now.
|
i have done this issue by
GLHF |
This issue still ... Any solution? |
Environment
RN 0.63.4
macOS Big Sur
XCode 12.5.1
Node 14.17.0
Description
im just install with
yarn add react-native-pager-view
andcd ios/ && pod install
when build in xcode and here is what i got:
duplicate symbol '_OBJC_CLASS_$_RCTOnPageScrollEvent' in: /Users/***/Library/Developer/Xcode/DerivedData/myproject-arxxyetrzfebktbhkqthuifxnipb/Build/Products/Debug-iphonesimulator/react-native-pager-view/libreact-native-pager-view.a(RCTOnPageScrollEvent.o)
....
/Users/***/Library/Developer/Xcode/DerivedData/myproject-arxxyetrzfebktbhkqthuifxnipb/Build/Products/Debug-iphonesimulator/react-native-viewpager/libreact-native-viewpager.a(ReactViewPagerManager.o)
ld: 39 duplicate symbols for architecture x86_64
i have tried all the solution in this topic but nothing changed
The text was updated successfully, but these errors were encountered: