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

Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_MQTTSessionManager"

Open anshumanburman opened this issue 3 years ago • 4 comments

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?

anshumanburman avatar Mar 17 '21 07:03 anshumanburman

Can you please attach your Podfile here?

SudoPlz avatar Mar 17 '21 18:03 SudoPlz

@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

anshumanburman avatar Mar 19 '21 05:03 anshumanburman

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 avatar Mar 19 '21 21:03 SudoPlz

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.

SudoPlz avatar Mar 19 '21 21:03 SudoPlz