-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_TealiumReactNative" #165
Comments
@Fedd9 sorry for the delayed reply. We are looking into this for you. |
is there any update on this? |
It looks like this issue was missed, sorry about that. By having a look at your Podfile it seems that you are missing a line: pod "tealium-react-native-swift", :path => '../node_modules/tealium-react-native/tealium-react-native-swift.podspec' That is necessary starting from Let us know if you are still facing the issue and sorry again for missing this. |
Hi @Enricoza @craigrouse , I’m experiencing the same issue, but I’m using Expo. The build works perfectly with both Xcode and Android Studio, but unfortunately not with Expo. Has anyone else encountered this problem? I’ve tried searching online, but I haven’t found much information. Thank you so much! |
@mario-isca-TW we'll take a further look into this and see if we can reproduce the issue with Expo. We normally test with vanilla RN apps without Expo, so it sounds like Expo is causing a conflict somewhere. We'll get back to you as soon as we can. |
Hi, any updates on this? Unfortunately, I’m in a bit of a hurry to implement Tealium in an app with Expo. Thank you so much! |
@mario-isca-TW It will take us some time to investigate unfortunately. We'll do our best, but I need to set expectations that it's not going to be an immediate fix (if indeed a fix is needed). |
Hi @mario-isca-TW, thanks for jumping in. For Expo the issue is still the same. You are going to need to add the extra dependency in the Podfile: pod "tealium-react-native-swift", :path => '../node_modules/tealium-react-native/tealium-react-native-swift.podspec' With Expo this is slightly more inconvenient as you don't have a Podfile. If you are building locally you can generate it with:
Then you can paste the required line on your own. And continue with your local builds. If instead you are building remotely using the eas service, this won't be possible and your only option would be to implement a plugin that edits the Podfile. This shouldn't be too difficult as there are many examples online on how to do so as this one. |
Hello everyone,
we're having a problem related to a RN migration from v0.63 to v0.73: while upgrading all the libraries and used frameworks, we've encountered this error:
Undefined symbols for architecture arm64:
"OBJC_CLASS$_TealiumReactNative", referenced from:
objc-class-ref in libtealium-react-native.a(TealiumReactNative.o)
_OBJC$CATEGORY_TealiumReactNative$_RCTExternModule in libtealium-react-native.a(TealiumReactNative.o)
"OBJC_CLASS$_TealiumWrapper", referenced from:
objc-class-ref in libtealium-react-native.a(TealiumReactNative.o)
_OBJC$CATEGORY_TealiumWrapper$_RCTExternModule in libtealium-react-native.a(TealiumReactNative.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Now, considering everything, we managed to understand a solution related ([https://github.com//issues/129]) but this is not working for us.
We can't use use_frameworks! :linkage => :static because it is not compatible with Flipper.
For reference, I'm also attaching the podfile.
Hope you can help me
The text was updated successfully, but these errors were encountered: