Estimote / react-native-proximity

React Native wrapper for Estimote Proximity SDK
Apache License 2.0
61 stars 38 forks source link

Undefined symbols for architecture x86_64: #55

Open Jackyaung opened 4 years ago

Jackyaung commented 4 years ago

I am having this problem :

Undefined symbols for architecture x86_64: "_OBJCCLASS$_EPXProximityRange", referenced from: objc-class-ref in RNEstimoteProximity.o "_OBJCCLASS$_EPXProximityZone", referenced from: objc-class-ref in RNEstimoteProximity.o "_OBJCCLASS$_EPXProximityObserver", referenced from: objc-class-ref in RNEstimoteProximity.o "_OBJCCLASS$_EPXCloudCredentials", referenced from: objc-class-ref in RNEstimoteProximity.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

it looks like there is something wrong with the use_frameworks. my project react-native version is 0.61.5, when I add use_framework in the cocoapod, it reports the above error, I have tried so many ways but couldn't find any solution. Due to many of frameworks need to use the use_framework, so I can delete the use_framework, anyone knows how to solve it?