I'm trying to set up a Jenkins CI instance for our app development project. I have jobs working that run logic and application tests using the *Debug* configuration but I'm struggling to build the IPA as I get a linkage error during compilation.

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

```

The app uses Cocoapods and I'm building with the Jenkins XCode plugin.

I searched for similar problems and tried/verified a bunch of things:

* I am using a workspace.
* I'm running `pod install` before the xcodebuild step.
* I've checked that architectures on the project itself, the target and Pods are the same – *standard (armv7, armv7s)* – as suggested by [this answer](https://stackoverflow.com/a/8824757/565049)
* I tried various solutions from [this GitHub thread](https://github.com/CocoaPods/CocoaPods/issues/270)
* I tried various settings for *Derived Data* locations as per [this answer](https://stackoverflow.com/a/16803411/565049) and similar ones
* The Podfile specifies `platform :ios, :deployment_target => "6.0"`

At that point I'm at a loss for what more to try.