Set Xcode bundle version to git hash

前端 未结 4 1055
野的像风
野的像风 2021-02-01 19:01

In Xcode, I want to set the project bundle version to the git hash, to create a unique link between a revision and a build.

(I have seen several postings about this that

4条回答
  •  旧巷少年郎
    2021-02-01 19:26

    https://gist.github.com/966838 is a short bash script that meets Apple's requirement that CFBundleVersion should be a monotonically increased string.

提交回复
热议问题