Skip to content

Commit

Permalink
Filter out compiler argument not understood by SourceKit in Xcode 14 (r…
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplyDanny authored Sep 20, 2022
1 parent 7b1de2f commit 95ffaed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
[SimplyDanny](https://github.com/SimplyDanny)
[#3703](https://github.com/realm/SwiftLint/issues/3703)

* Fix Analyzer rules in Xcode 14.
[SimplyDanny](https://github.com/SimplyDanny)
[#4208](https://github.com/realm/SwiftLint/issues/4208)

## 0.49.1: Buanderie Principale

_Note: The default branch for the SwiftLint git repository was renamed from
Expand Down
3 changes: 2 additions & 1 deletion Source/swiftlint/Helpers/CompilerArgumentsExtractor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ extension Array where Element == String {
"-parseable-output",
"-incremental",
"-serialize-diagnostics",
"-emit-dependencies"
"-emit-dependencies",
"-use-frontend-parseable-output"
].contains($0)
}.map {
if $0 == "-O" {
Expand Down

0 comments on commit 95ffaed

Please sign in to comment.