rive-app / rive-app/rive-react-native
error build: 2 duplicate symbols for architecture x86_64 error
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 783
- Forks
- 81
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 3
Description
I just got this error on xcode
error build: 2 duplicate symbols for architecture x86_64
when i try to build the project in xcode.
seems like the issue is with react-native-video lib.
build log:
duplicate symbol '_OBJC_METACLASS_$_RCTSwiftLog' in:
/Users/bma/Library/Developer/Xcode/DerivedData/mngapp-duyekhofqkcjgacibvlgueczygxi/Build/Products/Debug-iphonesimulator/react-native-video/libreact-native-video.a(RCTSwiftLog-d44e67551cf5987c20b091c1605168fd.o)
/Users/bma/Library/Developer/Xcode/DerivedData/mngapp-duyekhofqkcjgacibvlgueczygxi/Build/Products/Debug-iphonesimulator/rive-react-native/librive-react-native.a(RCTSwiftLog.o)
ld: 2 duplicate symbols for architecture x86_64
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Xcode build log and the react-native-video and rive-react-native libraries, where RCTSwiftLog appears in both static libraries. Trace how the duplicate symbol enters the x86_64 build; done means the project builds without the duplicate-symbol linker error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100