Komondor: Xcode 13 Beta/Swift 5.5 - Unable to Run Hooks

Getting the following error when using Xcode 13/Swift 5.5 build:

[0/0] Build complete!
Package.swift:3:8: error: no such module 'PackageDescription'
import PackageDescription
       ^
Swift/ErrorType.swift:200: Fatal error: Error raised at top level: PackageConfig.Error(reason: "Could not find a file at /var/folders/_z/7dqmnmzj0k1_57ctrgqrdq840000gn/T/package-config - something went wrong with compilation step probably")
[1]    43747 trace trap  swift run komondor run pre-commit

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 20 (10 by maintainers)

Most upvoted comments

https://github.com/shibapm/Komondor/releases/tag/1.1.1 should hopefully be the fixed release 👍🏻 - nice work @minuscorp

I’ve shipped a new release of pcakageconfig (thanks @minuscorp) - the versioning in Komondor should allow just updating that, which could fix it

I think that worked! 🥳 I’ll get a pull request out for the Komondor Package.swift fix out as soon as I double-check. Thanks @minuscorp for the lesson