-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.46.1 & 0.46.2 package installation fails #3815
0.46.1 & 0.46.2 package installation fails #3815
Comments
That's odd, since both 0.46.0 and 0.46.1 were produced minutes apart using the same script. Looking into this. |
For what it's worth, I get the same error with 0.46.0 and 0.46.1. |
According to Stack Overflow, it's no longer valid in macOS 11 or later to specify a package installation location of Does this work for you @miketimofeev? I don't know if |
Do you need me to cut a release with this fix? |
@jpsim thanks for the replies first of all! |
https://github.com/realm/SwiftLint/releases/tag/0.46.2 should have the fixed package installer |
@jpsim I'm afraid that was done in the wrong way, the binary is now installed not under
|
Well that's no good. It installed it under I still find it odd that the package suddenly broke in 0.46.1 if it was working in 0.46.0. I hadn't touched that pkg creation code in literally years. |
New Issue Checklist
Describe the bug
Swiftlint 0.46.1 package installation fails with the following error (0.46.0 installation works just fine):
Complete output when running SwiftLint, including the stack trace and command used
n\a
Environment
SwiftLint version 0.46.1
Installation method used pre-built package
Paste your configuration file: n\a
Are you using nested configurations?
If so, paste their relative paths and respective contents.
Which Xcode version are you using (check
xcodebuild -version
)?Do you have a sample that shows the issue? Run
echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.The text was updated successfully, but these errors were encountered: