`executable` in Run Action not setting properly
I have configuration with other app added to project byprojectReferences
projectReferences:
xyz:
path: ../Modules/xyz/xyz.xcodeproj
and I set
schemes:
xyz:
build:
targets:
xyz/xyz: all
run:
executable: "xyz/xyz"
According to the documentation:

executable: "xyz"
or
executable: "xyz.app"
Not working too
And in project I have settings like this after xcodegen generate

Executable is missing 👎 How can I add this properly?
✚𝟏
@keith @yonaskolb
Sill an issue in 2024 and the metadata for run schema is ignoring executable completely.
https://github.com/yonaskolb/XcodeGen/blob/2a367acb0f7928bc42210cbcdd31dcd778831c6b/Sources/ProjectSpec/Scheme.swift#L176-L194
From looking briefly at the code, setting the executable will only currently work if it's set to the name of another target that the scheme builds. But it doesn't currently support if that target comes from another project.
Changes would be required here, to not just lookup targets by name but support full TargetReference's that the build targets now support
https://github.com/yonaskolb/XcodeGen/blob/1645d419ce9abdcfaa3d917aabd7e2c9dc317fba/Sources/XcodeGenKit/SchemeGenerator.swift#L219-L234