Undefined symbols for architecture arm64 #3754
Unanswered
francoangulo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So like the title of this issue says, I'm getting
Undefined symbols for architecture arm64
error for several RNGestureHandler elements.This happens as soon as I enable the new architecture in my project, and goes away as soon as I disable it.
The thing is that react-native v0.82 is already out and they are not giving support for old architecture anymore, so my team needs to make it work.
I got this to work by adding a post_install script in my Podfile, but I'm not sure how stable and reliable it is.
This is something like a discussion asking if anyone has experienced this before and knows or have a better resolution that can be considered as stable and reliable.
Maybe attaching here my post_install script someone could get some hints on what is going on:
I couldn't think of a better place to ask someone to get better understanding on what's going on
Steps to reproduce
react-native v0.81.4
react-native-gesture-handler v2.28.0
1- have the project running normally
2- enable new architecture by setting ENV['RCT_NEW_ARCH_ENABLED'] = '1' on Podfile
3- cd ios && pod install
4- run the app, it throws the error shown above
Beta Was this translation helpful? Give feedback.
All reactions