TuyaInc / tuyasmart-home-sdk-react-native

MIT License
29 stars 65 forks source link

Undefined symbols for architecture arm64: "_TYLog", #49

Open chathuralakmal opened 4 years ago

chathuralakmal commented 4 years ago

Not sure why im getting this error.

Undefined symbols for architecture arm64: "_TYLog", referenced from: -[TuyaSmartBleMeshActivator start] in TuyaSmartBLEMeshKit(TuyaSmartBleMeshActivator.o) -[TuyaSmartBleMeshActivator executeAction] in TuyaSmartBLEMeshKit(TuyaSmartBleMeshActivator.o) -[TuyaSmartBleMeshSearch startSearch] in TuyaSmartBLEMeshKit(TuyaSmartBleMeshSearch.o) -[TuyaSmartBleMeshSearch handleDiscoveredDevice:] in TuyaSmartBLEMeshKit(TuyaSmartBleMeshSearch.o) -[TuyaSmartBLEMeshDevice publishDps:mode:success:failure:] in TuyaSmartBLEMeshKit(TuyaSmartBLEMeshDevice.o) -[TYBLEMeshCommand command] in TuyaSmartBLEMeshKit(TYBLEMeshCommand.o) -[TYBLEMeshCommand raw] in TuyaSmartBLEMeshKit(TYBLEMeshCommand.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

ariesjia commented 4 years ago

@chathuralakmal do you use Flipper. Your error seems to have a dependency conflict. try to use this version

versions['Flipper'] ||= '~> 0.27.0' versions['DoubleConversion'] ||= '1.1.7' versions['Flipper-Folly'] ||= '2.0.1' versions['Flipper-Glog'] ||= '0.3.6' versions['Flipper-PeerTalk'] ||= '~> 0.0.4' versions['Flipper-RSocket'] ||= '~> 1.0'