Hi,
I'm currently trying to build my project from command line using Jenkins automation.
However, although both methods are using the same code sign parameters, the UI based signing (from Xcode) succeed and when running from xcodebuild it fails for the reason below :
and the result is :
But the same command runs successfully when being invoked from Xcode. My questions are
thanks
I'm currently trying to build my project from command line using Jenkins automation.
However, although both methods are using the same code sign parameters, the UI based signing (from Xcode) succeed and when running from xcodebuild it fails for the reason below :
Code Block /usr/bin/codesign --force --sign <my_cert_id> --timestamp\=none /Users/bla/file.dylib
and the result is :
Code Block Warning: unable to build chain to self-signed root for signer "Apple Development: userBuilder (...)" /Users/bla/file.dylib: errSecInternalComponent
But the same command runs successfully when being invoked from Xcode. My questions are
Do the certificate+private key are taken from the keychain in both cases ?
Are there are environment variables that may exist only in the Xcode mode ?
thanks