I'm attempting to use MixPanel's iOS SDK to track a user action, and I'm receiving the following error when I try compiling:
Undefined symbols for architecture x86_64:
"_utf8_nextCharSafeBody", referenced from:
_validate_dispatch_data_partial_string in MPWebSocket.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
As far as I can tell from the documentation setup instructions, I've added the framework correctly. This error message doesn't seem to be unique to MixPanel, so I'm wondering what causes this in general, and what aspect of the SDK have I incorrectly integrated?
I've fixed this issue by adding libicucore.dylib
in my project under Link binary with Libraries. Here is an
Screenshot showing exactly how is should look.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With