-
Notifications
You must be signed in to change notification settings - Fork 194
Error IOS: Undefined symbols for architecture x86_64 #73
Comments
@geecurve You forgot to install the Mixpanel SDK. This package documentation suggest using Cocoapods for this task, but a much simpler solution can be Carthage |
@zoontek any idea how I can do it without cocoapods? |
and after that: https://github.com/Carthage/Carthage#if-youre-building-for-ios-tvos-or-watchos |
@davodesign84 this kind of issues #41 #6 #3 should not be closed so arbitrarily, there are still a lot of people who don't won't to use the CocoaPods, while the official doc on that missed something and leads us here. I figured out how to fix it after finding this finally http://stackoverflow.com/questions/32363208/symbols-not-found-for-architecture-x86-64-objc-class-mixpanel-referenced The key point is that simply dragging the Mixpanel folder to your project is not enough, the source files of MixPanel are still not included in Build Phases/Complie Sources, you need to set the options too |
Hi guys I'm getting this on a fresh react native project when i include this component. PS -> I first fixed the duplicate method issue manually from the master by replacing RNMixpanel.m
Full error:
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_Mixpanel", referenced from:
objc-class-ref in libRNMixpanel.a(RNMixpanel.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Current react versions:
"react": "15.4.1",
"react-native": "0.39.2",
"react-native-mixpanel": "0.0.11"
Hope you can help.
The text was updated successfully, but these errors were encountered: