Export OS version env var in Xcode build for simulator

#1

Hi :full_moon_with_face: In the step Xcode build for simulator, could you add an output variable $BITRISE_OS_VERSION that would contain the version number from the input variable OS version?

Two use cases:

  1. It would be super useful when you use the “latest” OS version, because you would know the actual version number. This can be then used in Appium to start an iOS simulator.
    I don’t know if there is any other way how to find out the “latest” OS version number - if yes, please let me know.

  2. When using Appium, you would no longer need to maintain the OS version number in two places - you would only set it in the input variable and Appium would get it from the output variable.

0 Likes