ARKit packaging error with UE4.21

UATHelper: Packaging (iOS): AppleARKit adding arkit requirement and camera permission to …

UATHelper: Packaging (iOS): ERROR: System.FormatException: The format of the input string is incorrect.

Anyone come across this issue? We are having a hard time deploying our app using ARKit…
We are using latest git version of UE4.21.2, compiled manually with the latest ARKit version.

If you need more information I can provide it.

Please help, thanks.