You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift build --configuration release
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
[0/1] Planning build
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
letpackage=Package(
name:"Jello",
platforms:[.iOS(.v17),.watchOS(.v6),.macOS(.v14)],
products:[.library(
name:"Jello",
targets:["Jello"]),.library(
name:"JelloFonts",
targets:["JelloFonts"]),.library(
name:"JelloSafeSymbols",
targets:["JelloSafeSymbols"])],
dependencies:[.package(
url:"https://github.com/SFSafeSymbols/SFSafeSymbols",
from:"5.3.0"),.package(
url:"https://github.com/pointfreeco/swift-snapshot-testing",
from:"1.17.6"),.package(
url:"https://github.com/apple/swift-argument-parser",
from:"1.0.0"),.package(
url:"https://github.com/Adyen/adyen-swift-public-api-diff",
from:"0.8.4")],
targets:[.target(
name:"Jello",
dependencies:["JelloFonts"],
resources:[.process("Assets.xcassets")],
swiftSettings:[.unsafeFlags(["-enable-library-evolution"])]),.target(
name:"JelloFonts",
dependencies:[],
resources:[.process("Fonts")],
swiftSettings:[.unsafeFlags(["-enable-library-evolution"])]),.target(
name:"JelloSafeSymbols",
dependencies:[.product(
name:"SFSafeSymbols",package:"SFSafeSymbols"),"Jello"]),.testTarget(
name:"JelloTests",
dependencies:["Jello",
// "JelloFigma",
"JelloFonts",.product(
name:"SnapshotTesting",package:"swift-snapshot-testing")],
resources:[.process("__Snapshots__")])])
The text was updated successfully, but these errors were encountered:
mariohahn
changed the title
Issue creating build - SwiftLint
Can't creating build - SwiftLint
May 13, 2025
Hi @mariohahn thanks for reporting.
I see you include the package for adyen-swift-public-api diff in your swift package file.
This is not needed unless you want to build an app/sdk that uses its functionality (e.g. a mac app that shows the output in a specific way)
Are you able to perform the swift build --configuration release command in general? (without the adyen-swift-public-api added)
Hi @mariohahn
I was able to reproduce the issue you were running into and subsequently removed the plugin in 1.10.1
I hope this also fixes it on your side as well.
Feel free to re-open the issue if you're still running into any issues :)
Cant create Build
swift build --configuration release
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
[0/1] Planning build
error: a prebuild command cannot use executables built from source, including executable target 'swiftlint'
error: build planning stopped due to build-tool plugin failures
The text was updated successfully, but these errors were encountered: