简体   繁体   English

找不到针对-lRNSVG-tvOS的react-native库

[英]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.

相关问题 未找到用于 -lRNAppleAuthentication react-native iOS 的库 - Library not found for -lRNAppleAuthentication react-native iOS xcode React-native:找不到-lWebEngageBannerPush的库 - xcode React-native: library not found for -lWebEngageBannerPush React-Native 错误 ld:找不到 -lBVLinearGradient 的库 - React-Native error ld: library not found for -lBVLinearGradient react-native:找不到命令 - react-native: command not found 错误 命令失败,退出代码 1,react-native 和 Xcode 找不到库 - error Command failed with exit code 1 with react-native and Xcode library not found 未找到模块“AdServices”(反应原生) - Module 'AdServices' not found (react-native) 库没有链接0.41版本的react-native - Library not linking with 0.41 versions of react-native React-Native:在项目或这些目录中找不到 React - React-Native: React could not be found within project or in these directories 使用 React-native init,无法在 Xcode 中构建新的 iOS 应用程序,构建错误“ld: library not found for -lDoubleConversion - using React-native init, a new iOS app can't build in Xcode, build error 'ld: library not found for -lDoubleConversion 将react-native项目捆绑为iOS框架或(.aar)Android库 - Bundling react-native project as iOS framework or (.aar) Android library
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM