Codesign error for widget target in Monterey with Xcode 13.4.1 in jenkin

With Jenkins facing Codesign error for widget target in Monterey with Xcode 13.4.1 in jenkins in App Store build generate stage.

Error CodeSign /Users/jenkins/Library/Developer/Xcode/DerivedData/XXXX-dyaqxwdylxthkzbwykmdsnhpiocv/Build/Intermediates.noindex/ArchiveIntermediates/CitrixWorkspace/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/XXXXWidget.appex (in target 'XXXXWidget' from project 'XXXXX') (1 failure)

Can anyone help with this ?

Codesign error for widget target in Monterey with Xcode 13.4.1 in jenkin
 
 
Q