Xcode/SwiftPM manifest parsing: supported attribution of permissionDenied (exit 74)

An offline iOS project build using local Swift packages stopped at Resolve Package Graph. The retained package activity log reports permissionDenied during Parsing package manifest; xcodebuild exited 74. The evidence does not identify the failing subprocess, executable/output path, denied resource or operation. It does not establish that a signing operation was attempted or caused the failure.

The attempt used a restrictive sandbox denying network access, writes outside the isolated run directory (except /dev/null), specified signing/device tools and certain simulator-service lookups. DerivedData and package paths were explicitly set. A separate failure saving a default-location result bundle was recorded; it has not been established as the cause of the manifest failure.

We seek diagnostic guidance, not a speculative permission expansion:

  1. What supported Xcode/SwiftPM diagnostic or logging facility can attribute this error to the exact manifest-processing subprocess, producer command, executable/output path and denied operation/resource (filesystem, sandbox, service or execution permission)?
  2. Can this attribution be obtained from retained logs, or through a narrowly scoped diagnostic that does not build/sign the iOS application, access Apple Developer credentials/private signing keys, alter Keychain/certificates, or require provisioning?
  3. If the diagnostic itself compiles or executes a manifest helper, does it create a keyless ad-hoc signature? How can its producer and output be identified, and can this be distinguished from application signing before authorising execution? Please state if no signing-free diagnostic is supported.
  4. Which minimal sanitised toolchain/version information and log fields are needed, and which documented options apply to xcodebuild rather than only standalone SwiftPM?

This is an Xcode/SwiftPM package-manifest enquiry, separate from a Node.js/dyld startup enquiry. We are not attributing this failure to dyld or to signing. No raw logs, private paths, credentials or project source are attached. Further execution awaits review of a supported diagnostic procedure.