Skip to content

ld: 4 duplicate symbols for architecture arm64 #2185

@cuibeihong

Description

@cuibeihong

i use Xcode10.1 run React native xcodeproj
error:

duplicate symbol __ZN5realm5_impl12partial_sync9WorkQueue13create_threadEv in:
/Users/div/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphoneos/libRealmReact.a(work_queue.o)
duplicate symbol __ZN5realm5_impl12partial_sync9WorkQueueD2Ev in:
/Users/div/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphoneos/libRealmReact.a(work_queue.o)
duplicate symbol __ZN5realm5_impl12partial_sync9WorkQueueD1Ev in:
/Users/div/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphoneos/libRealmReact.a(work_queue.o)
duplicate symbol __ZN5realm5_impl12partial_sync9WorkQueue7enqueueENSt3__18functionIFvvEEE in:
/Users/div/Library/Developer/Xcode/DerivedData/.../Build/Products/Debug-iphoneos/libRealmReact.a(work_queue.o)
ld: 4 duplicate symbols for architecture arm64

  • Realm JS SDK Version: 2.21.1
  • React Native: 0.57.4

i'm sure add & link realm success.
i need help!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions