Description of the issue
Xcode 11.4 breaks SwiftLint (presumably because of SwiftLint itself)
Environment:
Xcode 11.4 macOS 10.15
If on Bitrise.io: which stack? If not on Bitrise.io: on what operating system? (Plus any other information you can share)
SwiftLint
Reproducibility
- Does a āRebuildā help? (You can trigger a rebuild from the Buildās page, by clicking the āRebuildā button in the top right corner of a finished build) : NO
-
Does a rebuild without caches help? (You can remove the
Cache:Pull
andCache:Push
steps temporarily to not to use the cache, or you can delete all the caches on theSettings
tab of the app. : NO - Does the issue happen sporadically, or every time? : Everytimee
- Does upgrading the build Step to the latest version help? : No
- When did the issue start? : Switching to new stack.
Local reproduction
Yup!
Build log
| (4) swiftlint |
±-----------------------------------------------------------------------------+
| id: swiftlint |
| version: 0.4.2 |
| collection: https://github.com/bitrise-io/bitrise-steplib.git |
| toolkit: bash |
| time: 2020-02-19T15:08:05Z |
±-----------------------------------------------------------------------------+
| |
INFO[15:08:05] * [OK] Step dependency (swiftlint) installed, available.
- ā[ā -z ./ ā]ā
- FLAGS=
- ā[ā no = yes ā]ā
- ā[ā -s /Users/vagrant/git/.swiftlint.yml ā]ā
- FLAGS=ā --config /Users/vagrant/git/.swiftlint.ymlā
- cd ./
- swiftlint lint --reporter xcode --config /Users/vagrant/git/.swiftlint.yml
dyld: Library not loaded: @rpath/lib_InternalSwiftSyntaxParser.dylib
Referenced from: /usr/local/bin/swiftlint
Reason: image not found
/var/folders/rs/8ykplzp13y32gt248qlp_1240000gn/T/bitrise962521225/step_src/step.sh: line 22: 2250 Abort trap: 6 swiftlint lint --reporter ā${reporter}ā ${FLAGS}
| |
±ā±--------------------------------------------------------------±---------+
| x | swiftlint (exit code: 134) | 3.15 sec |
±ā±--------------------------------------------------------------±---------+
| Issue tracker: https://github.com/kimdv/bitrise-step-swiftlint/issues |
| Source: https://github.com/kimdv/bitrise-step-swiftlint |