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.
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