Specific controls for overriding build version in Apple platforms

Hi all!

In working through the Modern Xcode workflows for IOS in `AppleToolchain.cs`, there are no mechanisms to easily override the resulting build version in an IOS app output.

The only hook available seems to be adding in a custom script

FileReference VersionScript = FileReference.Combine(ProductDirectory, "Build/BatchFiles/Mac/UpdateVersionAfterBuild.sh");

however the information that is provided to the script is very limited, its only called with

UpdateVersionAction.CommandArguments = $"\"{BundleScript.AbsolutePath}\" \"{ProductDirectory}\" {LinkEnvironment.Platform} {Changelist}";

Are there any plans for improving or expanding this work, in particular though other configuration means like .ini and project settings?

It would be good to understand how Epic uses these as well, so that we can potentially adapt to use the existing features better!

Thanks a lot!

[Attachment Removed]

Steps to Reproduce
This can be investigated by running an IOS platform build, and checking the package for the resulting CFBundleVersion element in the generated plist file.

[Attachment Removed]

Hi Jacob,

The Engine/Build/BatchFiles/Mac/ResignApp.sh utility should provide the functionality you are mentioning. I am not aware of plans to expose these fields to project settings or .ini config files currently.

Best regards.

[Attachment Removed]