When updating SwiftLint 0.16.1 to SwiftLint 0.18.1, I get:
/Users/coeur/Library/Developer/Xcode/DerivedData/MyApp-7-eloayqptodupvfhbyegtkncnhcpu/Build/Intermediates/MyApp-7.build/UAT-iphonesimulator/MyApp-7-Debug.build/Script-379156A71D62F5C100574D04.sh: line 2: 30296 Illegal instruction: 4 "${PODS_ROOT}/SwiftLint/swiftlint" Command /bin/sh failed with exit code 132
DerivedData is clean.
Using Xcode 8.3.1, CocoaPods 1.2.1, Swift 3.1.
My .swiftlint.yml:
# Find all the available rules by running:
# swiftlint rules
excluded:
- Carthage
- Pods
disabled_rules:
- todo
- line_length
opt_in_rules:
- empty_count
trailing_whitespace:
ignores_empty_lines: true
ignores_comments: true
large_tuple: warning: 3
type_name: max_length: warning: 42
variable_name: min_length: warning: 1