2

我正在尝试让 Jenkins 使用我的使用 Cocoapods 的 ios 项目。我收到一个错误

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

我不明白,因为如果我去我的工作区

/Users/matthewchung/.jenkins/jobs/myproject-ios/workspace

并打开工作区,我可以构建和编译没有任何错误。任何帮助表示赞赏。

4

1 回答 1

0

不知道你是否还有这个问题。我挣扎了一段时间。Jenkins 没有找到 CocoaPods 指定的任何库。

我们的问题是我没有告诉 Jenkins 编译工作区。指定工作区和方案(而不是项目/目标)为我们解决了这个问题。

于 2016-01-31T22:23:20.040 回答