queueit / react-native-queue-it

React Native Module for integrating Queue-it's virtual waiting room into React Native apps.
MIT License
10 stars 2 forks source link

iOS build: Undefined symbols for architecture x86_64 #7

Open vladbars opened 2 years ago

vladbars commented 2 years ago

Could you please help with this build issue now?

react-native-queue-it 1.1.4 RN 0.66.1 Xcode 13.1 Apple Silicon M1

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_RCTEventEmitter", referenced from:
      _OBJC_CLASS_$_QueueIt in QueueIt-7507f857f56a3cae532b0e4ab7fc1dfd.o
      _OBJC_CLASS_$_QueueIt in QueueIt-6f99f24a1a0612c8622505d69174677d.o
  "_OBJC_METACLASS_$_RCTEventEmitter", referenced from:
      _OBJC_METACLASS_$_QueueIt in QueueIt-7507f857f56a3cae532b0e4ab7fc1dfd.o
      _OBJC_METACLASS_$_QueueIt in QueueIt-6f99f24a1a0612c8622505d69174677d.o
  "_RCTPresentedViewController", referenced from:
      -[QueueIt runAsync:eventOrAliasId:layoutName:language:withResolver:withRejecter:] in QueueIt-7507f857f56a3cae532b0e4ab7fc1dfd.o
      -[QueueIt runAsync:eventOrAliasId:layoutName:language:withResolver:withRejecter:] in QueueIt-6f99f24a1a0612c8622505d69174677d.o
      -[QueueIt runWithEnqueueTokenAsync:eventOrAliasId:enqueueToken:layoutName:language:withResolver:withRejecter:] in QueueIt-6f99f24a1a0612c8622505d69174677d.o
      -[QueueIt runWithEnqueueKeyAsync:eventOrAliasId:enqueueKey:layoutName:language:withResolver:withRejecter:] in QueueIt-6f99f24a1a0612c8622505d69174677d.o
  "_RCTRegisterModule", referenced from:
      +[QueueIt load] in QueueIt-7507f857f56a3cae532b0e4ab7fc1dfd.o
      +[QueueIt load] in QueueIt-6f99f24a1a0612c8622505d69174677d.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)