Build Information
Successful build of Regex with Swift 5.8 for macOS (Xcode) using Xcode 14.3.
Build Command
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride="$PWD/.dependencies" -derivedDataPath "$PWD/.derivedData" build -scheme Regex -destination 'platform=macos,arch=arm64'
Build Log
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message><RequestId>H9DDS3N1823CSSFX</RequestId><HostId>XaFPfGLVSNoP5MU7IG7Y7YlV6tpyRBJpO2/wL2q/tPlrLn1Yvf8SDdv5sI1M7Gyjd+56CkKWOPm99jzX9C+ZK1kdfs4svTTf5d/Wq4RMU7Q=</HostId></Error>