Skip to content

Xcode 13.3 broke analyzer rules #3920

Closed
@jpsim

Description

New Issue Checklist

Describe the bug

I think Xcode 13.3 broke something in how we run analyzer rules.

Seeing a lot of "Could not get cursor info" errors here: https://buildkite.com/swiftlint/swiftlint/builds/2484#2158175e-0903-44bf-ae35-83500f324d1d

Steps to repro: DEVELOPER_DIR=/Applications/Xcode-13.3.app/Contents/Developer make analyze

Complete output when running SwiftLint, including the stack trace and command used

N/A

Environment

  • SwiftLint version (run swiftlint version to be sure)? master and 0.47.0 are affected
  • Installation method used (Homebrew, CocoaPods, building from source, etc)? All
  • Paste your configuration file: https://github.com/realm/SwiftLint/blob/master/.swiftlint.yml
  • Are you using nested configurations? No.
  • Which Xcode version are you using (check xcodebuild -version)? Xcode 13.3 (13E113)
  • Do you have a sample that shows the issue? DEVELOPER_DIR=/Applications/Xcode-13.3.app/Contents/Developer make analyze

Metadata

Assignees

No one assigned

    Labels

    swift-5.6Issues with Swift 5.6/Xcode 13.3.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions