Skip to content

'Undefined symbols for architecture' on iOS #23

Answered by tomekzaw
grahammendick asked this question in Q&A
Discussion options

You must be logged in to vote

Hello! You will also need to implement NVNavigationStackViewComponentView class on iOS which is a wrapper for view manager from the old architecture. As a reference, feel free to check out RNGestureHandlerButtonComponentView in react-native-gesture-handler here. In order to make it work with React-Codegen, you will also need to implement NVNavigationStackViewCls function which will return RNGestureHandlerButtonComponentView.class (see here). Use .mm extension so it compiles as Objective-C++ file and make sure that these files are recognized as source files as well in Podspec (see here). Also, note that we use #ifdef RN_FABRIC_ENABLED in Fabric-specific files as Gesture Handler supports bo…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@grahammendick
Comment options

grahammendick Mar 29, 2022
Collaborator Author

@cipolleschi
Comment options

@tomekzaw
Comment options

@grahammendick
Comment options

grahammendick Mar 30, 2022
Collaborator Author

@cipolleschi
Comment options

Answer selected by grahammendick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants