shehankonecranes / sp-react-native-mqtt

MQTT Client native module for react-native
68 stars 55 forks source link

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_MQTTSessionManager" #17

Open anshumanburman opened 3 years ago

anshumanburman commented 3 years ago

Screenshot 2021-03-17 at 12 23 08 AM

i am installing this library using cocoapods in react native but i am getting this error Any help?

SudoPlz commented 3 years ago

Can you please attach your Podfile here?

anshumanburman commented 3 years ago

@SudoPlz Thanks for reply. i have attached screen shot of my podfile below. Please find it.

Screenshot 2021-03-19 at 10 35 16 AM

SudoPlz commented 3 years ago

Your Podfile looks good.

Can you paste the full error? It should say something like: Undefined symbols for architecture x86_64:... You should be able to find it in xcode if you scroll further down.

Also does your project have 1 target only (I'm asking because of https://stackoverflow.com/questions/58506391/undefined-symbol-objc-class-wkinterfacecontroller-error-after-updating-xcode)?

Also can you paste a photo of your build phases in Xcode?

Thanks

SudoPlz commented 3 years ago

Also take a look at this: https://github.com/novastone-media/MQTT-Client-Framework/issues/503 not sure if it's related but it maaay help.