errSecInternalComponent getting error while executing the xcodebuild command from jenkins

Tried to archive the Mac Osx app with the xcodebuild command from the jenkins. This produces error errSecInternalComponent.

At the same time if I execute the same xcodebuild command from the project within the terminal it archived successfully.

I have verified all the references to sort out this issue but but luck.

Ref: https://stackoverflow.com/questions/24023639/xcode-command-usr-bin-codesign-failed-with-exit-code-1-errsecinternalcomponent

https://developer.apple.com/forums/thread/669328

Please have look and provide a solution to get rid of this issue.

Below is the command for ur ref:

xcodebuild -workspace ./CipherCloud.xcworkspace -scheme CipherCloudMacAppStore -destination generic/platform=macOS archive -archivePath ./CipherCloud/build/CipherCloudMacAppStore.xcarchive

See Resolving errSecInternalComponent errors during code signing.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

errSecInternalComponent getting error while executing the xcodebuild command from jenkins
 
 
Q