I did mkdir swiftpm and then touch Package.resolved. ThenonXCode: File -> Packages -> Resolve Package Versions. To my understanding XCode write the 'Package.resolved' as cat Package.resolved gave me :
{
"pins" : [
{
"identity" : "kingfisher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/onevcat/Kingfisher",
"state" : {
"revision" : "c75584ac759cbb16b204d0a7de3ebf53ea6b304d",
"version" : "7.9.0"
}
}
],
"version" : 2
}