Package.resolved file is corrupted or malformed; fix or delete the file to continue: unknown ‘PinsStorage’ version ‘3’ at ‘…/project.xcworkspace/xcshareddata/swiftpm/Package.resolved’.
This happens after adding package https://github.com/socketio/socket.io-client-swift
We already did a clean build and deleted derived data but it is still not working.
2
Answers
Try the following step as mentioned in the first screenshot.
Then add the dependency after following steps mentioned in second screenshot.
It should work properly now. I tried this and it worked fine for me.
Make sure you’re using XCode >= 15.3 to solve the
unknown 'PinsStorage' version '3'
error