-
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
install via brew on silicon macOS fails #5254
Comments
Is Xcode installed? This might help. |
I'll have to check. I have the extra tools installed for using home brew but I'll check the workflow in the post provided. Thanks |
Initially, I have the following setting:
Following that link gives
After that swiftlint works
Many thanks |
Thanks again @SimplyDanny . BTW, I updated the docs to address via #5260 Furthermore, I see errors in terminal, but sadly with the Xcode mod described in the build phase in place I don't see the same errors. In fact, I don't see any errors/output. 8-( |
Ahh, even though I have my terminal path setup correctly, I still need the path set in the build script. This setup to modify path fixed the issue where its not found. This is revealed to the error in the build log where it says to
|
New Issue Checklist
Describe the bug
Updated brew
installed SwiftLint via brew
My path already had /opt/ fix for silicon macOS
works
fails
Adding to build phase like so:
Does nothing. I don't see any messages on pass or fail. I suspect it fails sine running at prompt fails.
Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint SourceKittenFramework/library_wrapper.swift:31: Fatal error: Loading sourcekitdInProc.framework/Versions/A/sourcekitdInProc failed [1] 12738 trace trap swiftlint lint
Environment
swiftlint version
to be sure)?no mods other that brew install. No knowledge of whee this file is located
# insert yaml contents here
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: