react-native-ui-lib
react-native-ui-lib copied to clipboard
Undefined symbols for architecture arm64
Description
Hi, can someone please help me to solve this? I keep trying for few days already , but still failed to build it.
Undefined symbols for architecture arm64: "OBJC_METACLASS$_RCTView", referenced from: OBJC_METACLASS$_SafeAreaSpacerView in SafeAreaSpacerView.o "_RCTScreenScale", referenced from: -[SafeAreaSpacerView safeAreaInsetsDidChange] in SafeAreaSpacerView.o "OBJC_METACLASS$_RCTShadowView", referenced from: OBJC_METACLASS$_SafeAreaSpacerShadowView in SafeAreaSpacerShadowView.o "OBJC_CLASS$_RCTShadowView", referenced from: OBJC_CLASS$_SafeAreaSpacerShadowView in SafeAreaSpacerShadowView.o "OBJC_CLASS$_RCTEventEmitter", referenced from: OBJC_CLASS$_RCTCustomInputControllerTemp in RCTCustomInputControllerTemp.o OBJC_CLASS$_SafeAreaManager in SafeAreaManager.o "_RCTRegisterModule", referenced from: +[HighlighterViewManager load] in HighlighterViewManager.o +[KeyboardTrackingViewTempManager load] in KeyboardTrackingViewTempManager.o +[RCTCustomInputControllerTemp load] in RCTCustomInputControllerTemp.o +[SafeAreaManager load] in SafeAreaManager.o +[SafeAreaSpacerViewManager load] in SafeAreaSpacerViewManager.o "OBJC_CLASS$_RCTConvert", referenced from: _OBJC$CATEGORY_RCTConvert$_KeyboardTrackingScrollBehavior in KeyboardTrackingViewTempManager.o objc-class-ref in RCTCustomInputControllerTemp.o "OBJC_CLASS$_RCTScrollView", referenced from: objc-class-ref in KeyboardTrackingViewTempManager.o "OBJC_CLASS$_RCTRootView", referenced from: objc-class-ref in KeyboardTrackingViewTempManager.o objc-class-ref in RCTCustomInputControllerTemp.o "_RCTContentDidAppearNotification", referenced from: -[KeyboardTrackingViewTemp init] in KeyboardTrackingViewTempManager.o "OBJC_METACLASS$_RCTEventEmitter", referenced from: OBJC_METACLASS$_RCTCustomInputControllerTemp in RCTCustomInputControllerTemp.o OBJC_METACLASS$_SafeAreaManager in SafeAreaManager.o "__RCTLogNativeInternal", referenced from: ___68-[KeyboardTrackingViewTempManager getNativeProps:resolver:rejecter:]_block_invoke in KeyboardTrackingViewTempManager.o ___49-[KeyboardTrackingViewTempManager scrollToStart:]_block_invoke in KeyboardTrackingViewTempManager.o "_RCTConvertEnumValue", referenced from: +[RCTConvert(KeyboardTrackingScrollBehavior) KeyboardTrackingScrollBehavior:] in KeyboardTrackingViewTempManager.o "OBJC_CLASS$_RCTView", referenced from: OBJC_CLASS$_SafeAreaSpacerView in SafeAreaSpacerView.o "OBJC_CLASS$_RCTViewManager", referenced from: OBJC_CLASS$_HighlighterViewManager in HighlighterViewManager.o OBJC_CLASS$_KeyboardTrackingViewTempManager in KeyboardTrackingViewTempManager.o OBJC_CLASS$_SafeAreaSpacerViewManager in SafeAreaSpacerViewManager.o "OBJC_METACLASS$_RCTViewManager", referenced from: OBJC_METACLASS$_HighlighterViewManager in HighlighterViewManager.o OBJC_METACLASS$_KeyboardTrackingViewTempManager in KeyboardTrackingViewTempManager.o OBJC_METACLASS$_SafeAreaSpacerViewManager in SafeAreaSpacerViewManager.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Steps to reproduce
- yarn add react-native-ui-lib
- cd ios && pod install
Expected behavior
Build Successful.
Actual behavior
Failed to build in simulator and physical devices.
Screenshots/Video

Environment
- React Native version: 0.68.1
- React Native UI Lib version: 6.21.2
Affected platforms
- [ ] Android
- [X] iOS
- [ ] Web
Up, any workaround?
any workaround?
i made it work. Clean everything rm -rf node_modules cd ios pod deintegrate cd .. nvm use 17.0.0 yarn i cd ios pod install and build through xcode
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.