JP Simard
JP Simard
@niorko is this with 0.54.0 that was released a few days ago?
I don’t speak for other maintainers, but personally I wouldn’t recommend using the SwiftPM plugin, for this and other reasons.
Hey Martin, thanks so much for taking this on and for your patience on this. It feels like ever time I've touched the precedence of included/excluded files in the past,...
Correct, SwiftLint 0.54.0 is not on homebrew. Please read the discussion in https://github.com/Homebrew/homebrew-core/pull/153931 for details.
@chenrui333 thanks for making the update to the required Xcode version. Are you saying that SwiftLint 0.54.0 is blocked on https://github.com/Homebrew/homebrew-core/pull/143762 or https://github.com/Homebrew/homebrew-core/pull/152643?
``` sandbox-exec: sandbox_apply: Operation not permitted :0: warning: compiler plugin not loaded: '/private/tmp/swiftlint-20231110-4060-css0iy/.build/arm64-apple-macosx/release/SwiftLintCoreMacros; failed to initialize ``` Does Homebrew not support CLI tools using Swift Macros? 🤔
Are any other homebrew formulas using Swift Macros or are we breaking new ground here?
@Bo98 Swift macros are plugins invoked by the Swift compiler when building Swift code, so that process could definitely be breaking the homebrew sandbox rules. Perhaps the homebrew sandboxing rules...
I wanted to see if building with Bazel avoided the sandbox issue, but it's still there, which makes sense since this is baked into the Swift compiler.
Thanks for filing feedback with apple about this. Any Swift package with macros will fail when building with `sandbox-exec -p '(version 1)(allow default)' swift build --disable-sandbox` For example, a pretty...