In the last article I solved Package.resolved issue and was glad to assist many people. Recently, I encountered the same issue while updating another app.
This prompted me to devise a custom GitHub action for streamlined resolution..
Package.resolved file is corrupted or malformed; fix or delete the file
- name: Patch Xcode 15.3
uses: 2sem/patch-package-resolved@v2
Package.resolved file is corrupted or malformed; fix or delete the file