I have integrated SwiftLint using pods and its working fine to produce warnings and errors. But I want to configure .yml file. For this I use following command on terminal.
swiftlint lint --config MyFile.yml
and getting following error...
fatal error: Loading sourcekitd.framework/Versions/A/sourcekitd failed: file /Users/marcelofabri/Westfield/SwiftLint/Carthage/Checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift, line 61 Illegal instruction: 4
Please let me know how to solve this issue.
This issue may occurred, because command line tool is not set in xcode. To solve the issue.
Xcode->preference->select Location Tab
In the "Command Line Tools" menu select the appropriate xcode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With