[英]react-native library not found for -lRNSVG-tvOS
I'm using react-native for developing android and ios app. 我正在使用react-native开发android和ios应用程序。 I know nothing about ios-development and Xcode environment.
我对ios开发和Xcode环境一无所知。
When i run react-native run-ios
i see this error: 当我运行
react-native run-ios
我看到此错误:
ld: library not found for -lRNSVG-tvOS
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
Any ideas? 有任何想法吗?
UPD : This might be caused by react-native-svg or react-native-vector-icons package. UPD :这可能是由react-native-svg或react-native-vector-icons软件包引起的。
related to https://github.com/facebook/react-native/issues/13783 与https://github.com/facebook/react-native/issues/13783相关
Just removed *-tvOS.a file from libraries 刚刚从库中删除了* -tvOS.a文件
From https://github.com/rebeccahughes/react-native-device-info/issues/258#issuecomment-340434729 : 来自https://github.com/rebeccahughes/react-native-device-info/issues/258#issuecomment-340434729 :
Seems like a bug caused by react-native link
好像是由本机链接引起的错误
You can manually delete libRNDeviceInfo-tvOS.a in Xcode -> [Your iOS build target] -> Build Phrases -> Link Binary with Libraries.
您可以在Xcode-> [您的iOS构建目标]->构建短语->用库链接二进制文件中手动删除libRNDeviceInfo-tvOS.a。
We had a multi target setup for multiple clients. 我们为多个客户设置了多目标。 This library was added to base target.
该库已添加到基本目标。 Make sure to remove from correct target.
确保从正确的目标上移除。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.