ld: 没有找到 -lCocoaAsyncSocket 的库。

问题描述 投票:0回答:1

我正在使用App Center来管理iOS的构建,以下是我在构建输出中收到的错误。

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

** ARCHIVE FAILED **

##[error]Error: /usr/bin/xcodebuild failed with return code: 65

我在Xcode中运行构建,存档成功。

有什么想法,为什么在App Center中会失败?

ios xcode react-native visual-studio-app-center
1个回答
0
投票

找到了一个解决方案。我最终使用了新的构建系统而不是传统的构建系统。我最初在iOS的App Center Build中打开了这个选项。

不知道为什么这是我需要的修复方法。有什么想法可以解释为什么这样做?我不太了解新构建系统和传统构建系统之间的区别。

© www.soinside.com 2019 - 2024. All rights reserved.