duplicate symbols for architecture x86_64
See original GitHub issueEnvironment
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
and cd 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
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Duplicate symbols for architecture x86_64 under Xcode
75 duplicate symbols for architecture x86_64. Means that you have loaded same functions twice. As the issue disappear after removing -ObjC from Other...
Read more >[iOS] Build fails with error duplicate symbols for architecture ...
Open the project in XCode, click Build (or hit ⌘ + B ). You should hit the error: duplicate symbols for architecture x86_64...
Read more >duplicate symbol _main in | Apple Developer Forums
I'm very new to Xcode and am trying to use it to write and build C code. I made a project and got...
Read more >[Swift] Getting duplicate symbols for architecture x86_64 error
... based on this answer: https://stackoverflow.com/questions/24298144/duplicate-symbols-for-architecture-x86-64-under-xcode.
Read more >"duplicate symbols for architecture x86_64" error ... - YouTrack
"duplicate symbols for architecture x86_64" error when building with Swift packages. Hi, I'm trying to build a KMM project with Swift package dependencies....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
please remove @react-native-community/viewpager from package.json,the build success
i have done this issue by
pod 'react-native-viewpager', :path => '../node_modules/@react-native-community/viewpager'
in Podfileyarn install
ornpm install
GLHF