I want my Xcode Archive to automatically label my SCM (Git in this project).
I noticed that in the schematic editor, Archival assemblies can run scripts for preliminary and step-by-step assemblies . It would be ideal if the post-steps are performed only if the assembly was successful, and then the tag can get there.
I would like the tag name to refer to the assembly configuration name (I have the TestFlight and AppStore configurations, as well as Debug and Release, which are usually not archived), as well as the version number that was and also the assembly number. The tag may look something like this: TestFlight_2.1.3_#11 or AppStore_2.9.0_#3 .
In your Xcode project settings, you can use variable substitutions such as $(BUILD_CONFIGURATION) . Can they be used in building a script archive?
I am also not sure if there is a variable for the current version line and the build number of the application. I could not find him if he is.
Benjohn
source share