2

I'm trying to get Jenkins working with my ios project which uses Cocoapods. I'm getting an error

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

which I don't understand since if I go to my workspace in

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

and open the workspace, I can build and compile without any errors. Any help is appreciated.

Kerni
  • 15,241
  • 5
  • 36
  • 57
Matthew Chung
  • 1,322
  • 1
  • 19
  • 31

1 Answers1

0

Not sure if you still have this issue. I was struggling with it for a while. Jenkins wasn't finding any of the libs specified by CocoaPods.

The issue for us was that I wasn't telling Jenkins to compile the workspace. Specifying a workspace, and scheme (instead of project/target) fixed the issue for us.

Rpmobile
  • 1
  • 1