We're seeing a pretty big problem with 15.x hosts and using SSH to execute builds.
Yet this works just fine in the terminal over VNC.
We see similar limitations with SSH and Virtualization too. They look related, but don't know.
Xcode 16.4
15.4.1 Host OS
Mac Mini M1.
Let me know what else is needed.
+ xcodebuild -workspace /Users/veertu/anka-arm/./Anka.xcworkspace . . . build build
/Users/veertu/anka-arm/build/Build/Products/Release/libpolicy.dylib: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
** BUILD FAILED **
/Users/veertu/anka-arm/build/Build/Products/Release/libpolicy.dylib: errSecInternalComponent
Command CodeSign failed with a nonzero exit code
** BUILD FAILED **
Watching the Console logs I see
. . .
codesign CSSM Exception: -2147415840 CSSMERR_CSP_NO_USER_INTERACTION
codesign error while checking integrity, denying access: CSSM CSSMERR_CSP_NO_USER_INTERACTION
error 14:53:57.404848-0500 codesign SecKeyCreateSignature failed: Error Domain=NSOSStatusErrorDomain Code=-25308 "CSSM Exception: -2147415840 CSSMERR_CSP_NO_USER_INTERACTION" (errKCInteractionNotAllowed / errSecInteractionNotAllowed: / Interaction is not allowed with the Security Server.) UserInfo={numberOfErrorsDeep=0, NSDescription=CSSM Exception: -2147415840 CSSMERR_CSP_NO_USER_INTERACTION}
default 14:53:57.405567-0500 codesign MacOS error: -2070
. . .