swift build writes to incorrect MacOS path #62208
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
transfer candidate
The issue may belong in another repository
triage needed
This issue needs more specific labels
Description
swift’s
—show-bin-path
option correctly shows the correct path, namely…/.build/arm64-apple-macosx/release
but the executable is incorrectly written to…/.build/x86_64-apple-macosx/release
Steps to reproduce
Using the Apple
swift-argument-parser
sample code on GitHub.swift build
withPackage.swift
as follows:Expected behaviour
The executable should be written using the path as displayed by the
—show-bin-path
option , namely…/.build/arm64-apple-macosx/release
Environment
MacOS Ventura 13.0.1 Using Apple Swift version 5.7.1
swift build
Package.Swift
The text was updated successfully, but these errors were encountered: