Unity 2018.4.1f1 LTS -batchmode for iOS is not working

So, I tested creating a build in both 2018.4.0f1 and 2018.4.1f1. 2018.4.0f1 works for iOS builds, however, when building with 2018.4.1f1, I get the build error:

This is using the
BuildPipeline.BuildPlayer(GetAllScenePaths(), path, BuildTarget.iOS, BuildOptions.None);

I’m using TeamCity that runs a shell script

I found the the work around for this is to use the 2018.4.0f1 version of Unity, or to use -username and -password flags for -batchmode

I saw that the 2019 versions are having the similar issues as well. Will there be a hotfix for 2018 LTS, or should I keep with 2018.4.0f1 for the time being until this is fixed?

Update: I tested this again with 2018.4.1f1 and with 2018.4.2f1 and it’s not working even with the -username -password work arounds

I’m having the exact same issue using fastlane.