skip to Main Content

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


  1. Try the following step as mentioned in the first screenshot.

    enter image description here

    Then add the dependency after following steps mentioned in second screenshot.

    enter image description here

    It should work properly now. I tried this and it worked fine for me.

    Login or Signup to reply.
  2. Make sure you’re using XCode >= 15.3 to solve the unknown 'PinsStorage' version '3' error

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search