I found the solution, but I’m not sure why it’s the solution:
I cloned the repository in my Documents folder on my Mac (the original location of the project before I removed it from my computer) rather than an external hard drive. I was then able to use pod deintegrate
and pod install
successfully.
I’m not sure why it had to be cloned at the same location as it was created?