Following the deployment guide for iOS using a Mac, stuck at "Unexpected Token I in JSON at position 0"

Hello all.

At one point I was able to run my game on iPhone, but that was over a year ago.

Now when I go through the process I get hung up on the step where I need to emulate ios.

cordova emulate ios

yields the error "Unexpected Token I in JSON at position 0"

Everything else looked like it went smoothly, but I can't get past this point to test the game.

Any attempt at running gives me that error. I'm not even sure what could be causing it.

Is there anything I can do?

Original thread: https://forums.rpgmakerweb.com/threads/following-the-deployment-guide-for-ios-using-a-mac-stuck-at-unexpected-token-i-in-json-at-position-0.121212/