davide-scalzo / react-native-mixpanel

A React Native wrapper for Mixpanel tracking
MIT License
455 stars 195 forks source link

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 #156

Open learnlapp opened 6 years ago

learnlapp commented 6 years ago

I am getting this error after manually linking.

Undefined symbols for architecture x86_64: "_OBJCCLASS$_Mixpanel", referenced from: objc-class-ref in libRNMixpanel.a(RNMixpanel.o) ld: symbol(s) not found for architecture x86_64

I am on

"react-native": "0.57.3" "react-native-mixpanel": "^1.1.1"

sonicdoe commented 6 years ago

Are you using the Mixpanel-swift pod by any chance? I did not encounter this issue when using the Mixpanel pod.

ts-ign0re commented 5 years ago

Have the same problem and I'm not using Mixpanel-swift.

hugoh59 commented 5 years ago

Have the same issue.

gzzo commented 5 years ago

Most likely you did not follow the required additional step for iOS:

Install Mixpanel iOS SDK via either Cocoapods or manually more info here