iyegoroff / react-native-text-gradient

Text gradient for React-Native (ON HIATUS)
MIT License
97 stars 32 forks source link

Cocoapod build failure for RN 0.61.2 #35

Open cybersgk opened 5 years ago

cybersgk commented 5 years ago
"react-native": "0.61.2",
"react-native-text-gradient": "0.1.7"

Added package and done pod install, finished successfully When building this error occurs: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_RCTVirtualTextViewManager", referenced from: _OBJC_CLASS_$_RNVirtualTextGradientViewManager in RNVirtualTextGradientViewManager.o "_OBJC_METACLASS_$_RCTVirtualTextViewManager", referenced from: _OBJC_METACLASS_$_RNVirtualTextGradientViewManager in RNVirtualTextGradientViewManager.o "_OBJC_METACLASS_$_RCTVirtualTextShadowView", referenced from: _OBJC_METACLASS_$_RNVirtualTextGradientShadowView in RNVirtualTextGradientShadowView.o "_OBJC_IVAR_$_RCTTextShadowView._bridge", referenced from: -[RNTextGradientShadowView uiManagerWillPerformMounting] in RNTextGradientShadowView.o "_OBJC_CLASS_$_RCTBaseTextShadowView", referenced from: objc-class-ref in RNTextGradientShadowView.o "_OBJC_METACLASS_$_RCTTextView", referenced from: _OBJC_METACLASS_$_RNTextGradientView in RNTextGradientView.o "_OBJC_CLASS_$_RCTTextView", referenced from: _OBJC_CLASS_$_RNTextGradientView in RNTextGradientView.o "_OBJC_IVAR_$_RCTTextViewManager._shadowViews", referenced from: -[RNTextGradientViewManager shadowView] in RNTextGradientViewManager.o "_OBJC_IVAR_$_RCTTextView._textStorage", referenced from: -[RNTextGradientView drawRect:] in RNTextGradientView.o "_OBJC_CLASS_$_RCTVirtualTextShadowView", referenced from: _OBJC_CLASS_$_RNVirtualTextGradientShadowView in RNVirtualTextGradientShadowView.o "_OBJC_METACLASS_$_RCTTextViewManager", referenced from: _OBJC_METACLASS_$_RNTextGradientViewManager in RNTextGradientViewManager.o "_OBJC_METACLASS_$_RCTTextShadowView", referenced from: _OBJC_METACLASS_$_RNTextGradientShadowView in RNTextGradientShadowView.o "_OBJC_CLASS_$_RCTRawTextShadowView", referenced from: objc-class-ref in RNTextGradientShadowView.o "_OBJC_CLASS_$_RCTTextShadowView", referenced from: _OBJC_CLASS_$_RNTextGradientShadowView in RNTextGradientShadowView.o "_OBJC_CLASS_$_RCTTextViewManager", referenced from: _OBJC_CLASS_$_RNTextGradientViewManager in RNTextGradientViewManager.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) This happened after react-native version upgrade. I did the patch and reset everything by cloning new project and even used react-native-clean-project.

Please help. Thank you. BTW Love the library.

geroale commented 4 years ago

Same issue here