shibapm / Komondor

Git Hooks for Swift projects 🐩
MIT License
552 stars 32 forks source link

Updating Package.resolved for Xcode 13.2 #51

Closed leogdion closed 2 years ago

leogdion commented 2 years ago

Getting the following error when running in Xcode 13.2:

PackageConfig/Package.swift:171: Fatal error: Unexpectedly found nil while unwrapping an Optional value
/Users/leo/Documents/Projects/GBeat/.git/modules/Packages/GBeatKit/hooks/pre-commit: line 19: 85862 Trace/BPT trap: 5       $komondor run pre-commit $gitParams

By updating the Swift packages and using the latest version of PackageConfig, it fixes the issue.

sonic555gr commented 2 years ago

Can someone please merge this?

leogdion commented 2 years ago

Also let me know if we can get a new tag too. Thanks

sonic555gr commented 2 years ago

Ping

orta commented 2 years ago

I'm no expert on SPM, but I'd be surprised if they used our lockfile to determine what your app's dependencies should be. You should be fixing this in your own apps by whatever dependency update command it has

orta commented 2 years ago

Closing as no-one gave a good reason has offered a reason on how this would update app deps 👍🏻