Open mhays118 opened 3 years ago
Hey @mhays118, Had the same issue yesterday, fixed by adding write() to the PackageConfiguration
E.g:
let config = PackageConfiguration([ "komondor": [ "pre-commit": [ ... ], ], ]).write()
Hey @mhays118, Had the same issue yesterday, fixed by adding write() to the PackageConfiguration
E.g:
let config = PackageConfiguration([ "komondor": [ "pre-commit": [ ... ], ], ]).write()
I updated Xcode to 13.0 and have the same issue mentioned in original post but my PackageConfiguration
already has .write()
.
Is there any other solution I can try??
I also already have .write()
as part of the PackageConfiguration.
Any other ideas how to fix this?
Same...not working for me either...already have .write()
. using swift-tools 5.4
Hello,
I am trying to integrate Komondor into the codebases I work on. After setting it up, I started getting illegal instruction errors from Komondor and am unable to get it to run in any project.
This happens both when a git-hook runs:
git commit -m "test"
or when I manually try running:
swift run komondor run
Reproduction steps:
The package builids and runs.
swift Build
swift test
I then modified the
package.swift
file to the following:run
swift run komondor install
Now, I get either of the errors I mentioned above.
Environment Details:
macOS: Catalina 10.15.7 (19H15) Swift: Apple Swift version 5.3.1 (swiftlang-1200.0.41 clang-1200.0.32.8) Target: x86_64-apple-darwin19.6.0 Xcode: Version 12.2 (12B45b) git: 2.28.0
Attempted workarounds
Similar issues
This is similar to #28, however, the solution presented #https://github.com/shibapm/Komondor/issues/28#issuecomment-546575744, doesn't seem to work.
I've tried running the solution from that PR multiple times, same issue.
Tried multiple versions of Komondor
Komondor versions tested: 1.0.6, 1.05, 1.04.
All three of these versions have the same issue.
Changing the swift-tools-version
I've tried changing the
swift-tools-version
inpackage.swift
to 5.3, 5.1, and 4.2.Same issue with all these tool versions.