sp-react-native-mqtt icon indicating copy to clipboard operation
sp-react-native-mqtt copied to clipboard

'MQTTClient/MQTTClient.h' file not found

Open jackviatick opened this issue 2 years ago • 3 comments

'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.

jackviatick avatar Dec 06 '22 10:12 jackviatick

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

zeemyself avatar Mar 16 '23 08:03 zeemyself

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.

umangloria avatar Mar 29 '23 15:03 umangloria

Found the issue, silly me!! I forgot to add pod 'MQTTClient' inside podfile as mentioned in the documentation. Ref. step 3.

umangloria avatar Apr 05 '23 02:04 umangloria