unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it

I'm seeing an error in my project that doesn't provide enough information for me to investigate further in my "Compute target dependency graph" stage:

error: unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it
error: unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it
error: unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it

Is there anything I can do to get Xcode to print more information to the error navigator that might help me to work out what's causing this?

This error has persisted across Xcode 26 beta 1, and still happens in Xcode 26 beta 2. It did not occur in Xcode 16.x.

FB18045265

Answered by Developer Tools Engineer in 846127022

This was also reported on the swift-build issue tracker https://github.com/swiftlang/swift-build/issues/614

Accepted Answer

This was also reported on the swift-build issue tracker https://github.com/swiftlang/swift-build/issues/614

unsupported configuration: the aggregate target 'SwiftLintBuildToolPlugin' has package dependencies, but targets that build for different platforms depend on it
 
 
Q