升级我的Xcode后,找不到-lbvlineargradient的库

发布于 2025-01-27 22:04:02 字数 490 浏览 1 评论 0原文

升级Xcode后,我正在尝试构建我的反应本地项目,但我会遇到一个错误:

“ ld:未找到-lbvlineargradient的库 clang:错误:链接器命令因退出代码1失败(使用-v查看调用)“

Xcode中的错误屏幕截图

我很确定此错误与Cocoapods/Xcode有关,因为该应用程序在Xcode升级之前正在

  • 构建
  • POD Denecrate / POD安装(几次)
  • 卸载并重新安装线性级别NPM
  • 在部署目标 / info中设置相同的iOS版本。plist
  • 从构建阶段 /链接二进制删除'.a'文件与库中的链接二进制

文件建议

I'm trying to build my react-native project after upgrading my Xcode but I'm getting an error:

"ld: library not found for -lBVLinearGradient
clang: error: linker command failed with exit code 1 (use -v to see invocation)"

Error screenshot in Xcode

I'm pretty sure this error is related to Cocoapods / Xcode because the app was building before the xcode upgrade.

What I have done so far:

  • Use the .xcworkspace file
  • Pod deintegrate / pod install (several times)
  • Uninstall and reinstall the Linear-Gradient npm
  • Setting the same iOS version in Deployment Target / info.plist
  • Remove the '.a' files from Build Phases / Link Binary With Libraries

Do you guys have any other suggestion? I'm literally stuck at this bug for 3 days. And the worst part is that I have made everything I could find on internet.

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文