Without explicitly set the version, the tool intelligently but unexpectedly picks the version number from the podspec file in the repo. As we generate the API during the build time, this is causing a problem (as happened with 3.2.0-beta.1, the API doc shows version as 3.1.0) when we cannot update the version in the podspec until the release time.
Explicitly set the version number when generating the doc. If the version is not specified when running the script, there will be no version shown in the doc.
Without explicitly set the version, the tool intelligently but unexpectedly picks the version number from the podspec file in the repo. As we generate the API during the build time, this is causing a problem (as happened with 3.2.0-beta.1, the API doc shows version as 3.1.0) when we cannot update the version in the podspec until the release time.
Explicitly set the version number when generating the doc. If the version is not specified when running the script, there will be no version shown in the doc.