Skip to content
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

Cocoapod build failure for RN 0.61.2 #35

Open
cybersgk opened this issue Oct 15, 2019 · 1 comment
Open

Cocoapod build failure for RN 0.61.2 #35

cybersgk opened this issue Oct 15, 2019 · 1 comment

Comments

@cybersgk
Copy link

"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
Copy link

geroale commented Jun 2, 2020

Same issue here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants