Swiftlint: Fatal error: Illegal instruction: 4

Created on 6 Dec 2017  路  4Comments  路  Source: realm/SwiftLint

Loading configuration from '.swiftlint.yml'
Fatal error: Loading sourcekitd.framework/Versions/A/sourcekitd failed: file /tmp/swiftlint-20171110-35989-ue11z3/Carthage/Checkouts/SourceKitten/Source/SourceKittenFramework/library_wrapper.swift, line 61
Illegal instruction: 4

OS: High Sierra
swiftlint-version: 0.24.0

Most helpful comment

fix by running sudo xcode-select -s /Applications/Xcode\ 9.0.app/Contents/Developer

All 4 comments

screen shot 2017-12-06 at 1 56 59 pm

fix by running sudo xcode-select -s /Applications/Xcode\ 9.0.app/Contents/Developer

1466

fix by running sudo xcode-select -s /Applications/Xcode\ 9.0.app/Contents/Developer

Thank you so much! :D That did the trick for me .. mandatory if you got several Versions of XCode installed in custom paths :D <3

Was this page helpful?
0 / 5 - 0 ratings