Found answer here: https://stackoverflow.com/a/76462352/26635937
Issue with ~/.zshrc file and PATH within that file.
Had to reinstall cocoa pods with a specific path and then put that path into the .zshrc file