I'm on Xcode v16.1 and the steps were different for me. Here's how I did it:
Steps to remove Swift package dependancy
- In the Project Navigator on the left, select your project
- Ensure you're on the "General" tab
- Scroll down to "Frameworks, Libraries, and Embedded Content"
- Click the dependancy you want to remove, click the minus symbol "-", and confirm the popup
I hope this helps, let me know if you have any questions or trouble with the steps.