Home > Net >  At terminal print swiftlint information
At terminal print swiftlint information

Time:02-23

After I installed swiftlint, I used the terminal to print the swiftlint information. When I printed the version number, it was correct. However, when I printed the rules, this problem occurred. pic

mac: MacBook Pro(M1 chip) swift: 5.x Xcode:13.2

CodePudding user response:

Probably the problem is connected with your version of swiftlint. It's 0.17.0 and the current version is 0.46.3.

Try to update it to a newer version?.

CodePudding user response:

Open Xcode -> Open Preferences -> Check if the Command Line Tools is selected.

enter image description here

  • Related