-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugbuild systemChanges to interactions with build systemsChanges to interactions with build systemsswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backend
Description
Is it reproducible with SwiftPM command-line tools: swift build, swift test, swift package etc?
- Confirmed reproduction steps with SwiftPM CLI. The description text must include reproduction steps with either of command-line SwiftPM commands,
swift build,swift test,swift packageetc.
Description
https://github.com/getsentry/sentry-cocoa.git
MacOS
The following package does not build using the 'swifbuild' backend but does with 'native'
swift build `--buildsystem=swiftbuild` fails to build package
error: Multiple commands produce '/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/arm64-apple-macosx/Products/Debug/Sentry.framework'
info: Command: ProcessXCFramework /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/artifacts/sentry-cocoa/Sentry-Dynamic-WithARM64e/Sentry-Dynamic-WithARM64e.xcframework /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/arm64-apple-macosx/Products/Debug/Sentry.framework macos
info: Command: ProcessXCFramework /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/artifacts/sentry-cocoa/Sentry-Dynamic/Sentry-Dynamic.xcframework /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/arm64-apple-macosx/Products/Debug/Sentry.framework macos
info: Command: ProcessXCFramework /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/artifacts/sentry-cocoa/Sentry/Sentry.xcframework /private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/arm64-apple-macosx/Products/Debug/Sentry.framework macos
error: Multiple commands produce '/private/var/lib/jenkins/workspace/swift_oss/swift-package-index-metrics@4/spi-workdir/D071710C-D745-481C-B50A-068827E39F1C/sentry-cocoa/.build-swiftbuild/arm64-apple-macosx/Products/Debug/Sentry.framework.dSYM'
inf
Expected behavior
Builds
Actual behavior
Fails to build
Steps to reproduce
git clone https://github.com/getsentry/sentry-cocoa.git
swift build --build-system=swiftbuild
Swift Package Manager version/commit hash
No response
Swift & OS version (output of swift --version ; uname -a)
No response
Metadata
Metadata
Assignees
Labels
bugbuild systemChanges to interactions with build systemsChanges to interactions with build systemsswift buildChanges impacting `swift build`Changes impacting `swift build`swiftbuild backend
Type
Projects
Status
No status