I'm trying to install Postgresql for project which was freshly generated from Mac app & it stuck here
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
1 Like
yeah, it helps. Do reset command and regenerate work every time?
No, it shouldn't be necessary to do this very often. Usually, after tweaking "Package.swift," swift package resolve
is enough.
1 Like