构建到设备上时 Xcode 构建错误 - 找不到用于 -lDoubleConversion 的库

时间:2021-05-13 16:31:54

标签: ios xcode react-native

所以我的应用程序已经在 Xcode 模拟器上成功运行和构建。该应用程序是一个 React Native 应用程序

但是,当我尝试将其放到设备上时出现错误。

我需要采取哪些步骤才能使其发挥作用?

Library not found for -lDoubleConversion enter image description here enter image description here

注意事项:

-我正在运行 Xcode 工作区文件 - 我确实尝试过 use_framework!在 Podfile 中,但我认为这是不对的,并导致了更多问题

  • 还尝试将其添加到 podfile

1 个答案:

答案 0 :(得分:0)

出现此错误的原因是我的 podfile 中所需的 iOS 版本与 xcode 中的最小版本不同。

xcode 生成的错误在这种情况下没有帮助,而且鉴于互联网上的答案范围很模糊