SwiftLint: Segmentation fault on trailing_comma with Swift 2.3

Currently exiting with code 139 on lint.

2016-12-01 22:06:49.888 swiftlint[87645:2364960] *** -[__NSCFString substringWithRange:]: Range {2127, 18446744073709551614} out of bounds; string length 3640. This will become an exception for apps linked after 10.10 and iOS 8. Warning shown once per app execution.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 27

Most upvoted comments

I removed an old Xcode beta with no luck. Our builds in CircleCI were also affected and I assume that’s a clean environment. I had no false positives building and testing the swiftlint project. This suggests it’s something in our project config, but I have no idea where to look.