macOS Notarization Failed with "invalid number at line 1 column 2"

Hi all,

I’m attempting to export my game for macOS from a Windows machine, but rcodesign keeps failing in the notarization process with the error “Error: invalid number at line 1 column 2”. I’ve checked my App Store Connect API keys multiple times and tried different ones, but keep running into this issue. It even occurs on an empty project.

I found this GitHub Issue from December that seems to describe the same problem, but the issue was never followed up on:

Does anyone here have any idea why this is occurring? Even searching up the issue for rcodesign specifically returns nothing.

The game contains online multiplayer through Nakama, if that might be causing something. But since its happening on an empty project, I doubt that’s the case.