If I run SwiftLint Analyze on a clean clone of my SwiftPM project that hasn't been opened in Xcode (regardless of whether it was previously built with command-line swift), I get a warning that "Supported platforms for the buildables in the current scheme is empty".
I don't already have any .xcworkspace, .xcscheme, or similar files to use for xcodebuild; I have only Package.swift.
When I run the following SwiftLint Analyze, it seems to work, but I get the warning shown after the command line below:
$ swiftlint analyze --compiler-log-path =(xcodebuild -scheme mas -configuration Release -destination "platform=macOS,arch=$(arch),variant=macOS")
2025-09-25 13:54:59.662 xcodebuild[47460:6143603] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
If I open my project in Swift, it generates a .swiftpm/xcode/package.xcworkspace file. Even If I reference that file in the command line by inserting -workspace .swiftpm/xcode/package.xcworkspace after xcodebuild, I still get the same warning.
How can I fix the issue or silence the warning (without piping to something like grep -v)?
Thanks for any help.