Stuck at installing Postgresql


(Bruce) #1

I'm trying to install Postgresql for project which was freshly generated from Mac app & it stuck here


(Nocturnal) #2

It would help if you shared your Package.swift file with us. But without seeing it, I can suggest you try this Nuclear Option to reset the SPM state whenever you run into trouble with it:

swift package reset; rm Package.resolved; swift package resolve


(Bruce) #3

yeah, it helps. Do reset command and regenerate work every time?


(Nocturnal) #4

No, it shouldn't be necessary to do this very often. Usually, after tweaking "Package.swift," swift package resolve is enough.