sp-react-native-mqtt
sp-react-native-mqtt copied to clipboard
'MQTTClient/MQTTClient.h' file not found
'MQTTClient/MQTTClient.h' file not found. I'm getting this error when trying to implement the lib to IOS side. I tried manual link but still get the same error.
If you use_framework inside pod then add
s.dependency "MQTTClient"
at node_modules/sp-react-native-mqtt/sp-react-native-mqtt.podspec
maybe consider using patch-package so you don't have to manual add everytime
Same issue with a fresh project as well, Not able to find any working solution. please let me know if there is any fix for this.
Found the issue, silly me!! I forgot to add pod 'MQTTClient'
inside podfile
as mentioned in the documentation. Ref. step 3.