Are you using the login key-chain or did you create a different
key-chain for jenkins builds app signing?
If you are just using the login key-chain make sure you unlock the
key-chain during the build.
If you are using a different key-chain make sure you swap key-chains and
then unlock it.
- Xcode build works codesign fails - this thread is quite
Also adding these 2 commands to your build can help you debug it: