Modify Bundle Version in script

I have automated iphone builds and I'd like to modify the Bundle Version in the scripts.

I can modify the Bundle Identifier (PlayerSettings.iPhoneBundleIdentifier) but I did not find how to change the version.

Is it possible to change it through script? If yes, how?

Thanks in advance.

1 Answer

1

This is what I’m doing (c#)

PlayerSettings.bundleVersion = buildVersion;

you can also change the company name, the product name, the bundle identifier etc…