You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running swiftlint rules is throwing a fatal error. I'm using Xcode 11.0 and I believe the issue might be related to this version of Xcode or MacOS Catalina.
Complete output when running SwiftLint, including the stack trace and command used
Do you also get a similar failure when running swiftlint help? Printing the result of xcodebuild -version would be useful too. Finally, could you please share the results of running these steps?
$ git clone https://github.com/realm/SwiftLint.git
$ cd SwiftLint
$ swift run swiftlint rules
Thanks for your help. I rely on this information to diagnose the issue because I don't have a machine running Catalina available to me and haven't been able to reproduce this issue with Mojave and Xcode 11 beta 2.
When running xcodebuild -version I noticed the following error:
xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
I referred to this thread on Stack Overflow and solved the issue. Afterwards, I was able to run swiftlint rules. I'm therefore closing the issue as it was an environment error.
New Issue Checklist
Describe the bug
Running
swiftlint rules
is throwing a fatal error. I'm using Xcode 11.0 and I believe the issue might be related to this version of Xcode or MacOS Catalina.Complete output when running SwiftLint, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: