Unable to build/launch project on iOS using any version after 4.16

Whenever I try to launch/build for iOS on any version of UE4 later than 4.16, I always get this error:

LogPlayLevel: Program.Main: ERROR: AutomationTool terminated with exception: System.FormatException: Input string was not in a correct format.

For troubleshooting, I created 2 projects with the stock “blueprint Topdown example”. One named “iOSTest” running on UE 4.16 and one named “iOSTest2” in 4.17

I then launched both using the same provision and certificate on both. One succeeds and works flawlessly, the other fails. Here is the log output for both: UE4 iOS issues - Pastebin.com

if it is relevant, the device being launched to is an iPad2,5. I never have issues launching on iOS on 4.16 regardless of which projects i tested, i tried both 4.17, 4.18 and 4.19 preview, all projects i try fail with the same error on all of these so I believe the problem is linked to some change introduced in 4.17

I have the same problem. " Input string was not in a correct format."

Versions that fail: 4.17, 4.18, 4.19 (blank project)
Deploying no problem: 4.16

I got it fixed by changing my clock date and time settings all to US. What a weird bug.

Thank you! big help! strange bug indeed