LoginSignup
5
0

More than 5 years have passed since last update.

iOSアプリのバージョン管理 (KAMINASHIの場合)

Posted at

この記事でわかること

・アプリリリース時のバージョンのプロパティについて
・弊社アプリでの各数字の意味合い

KAMINASHIを開発しているユリシーズではエンジニア絶賛募集中です!

バージョンを管理しているプロパティ

iOSのアプリバージョンはCFBundleVersionで管理されています。

CFBundleVersionとは (一部省略)

CFBundleVersion specifies the build version number of the bundle, which identifies an iteration of the bundle.
The build version number should be a string comprised of three non-negative,
period-separated integers with the first integer being greater than zero.
The string should only contain numeric (0-9) and period (.) characters.

The meaning of each element is as follows:
* The first number represents the most recent major release and is limited to a maximum length of four digits.
* The second number represents the most recent significant revision and is limited to a maximum length of two digits.
* The third number represents the most recent minor bug fix and is limited to a maximum length of two digits.

訳 (by Google翻訳)

CFBundleVersionは、バンドルのビルドバージョン番号を指定します。バンドルの反復を識別します。
ビルドバージョン番号は、ピリオドで区切られた3つの負でない整数で構成され、最初の整数が0より大きい文字列でなければなりません。
文字列には、数字(0-9)とピリオド(.)のみを含める必要があります。

各数字の意味は次のとおりです。
最初の数字は最新のメジャーリリースを表し、最大4桁の長さに制限されています。
2番目の数字は最新の重要なリビジョンを表し、2桁の最大長に制限されています。
3番目の数字は最新のマイナーなバグ修正を表し、2桁の最大長に制限されています。

[参考]
https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

KAMINASHIでのバージョン管理

KAMINASHIの現在のCFBundleVersionは、1.1.2.0です。

1.1:api側のバージョン
2:リリースの度にインクリメント
0:通常は0。何らかの事情で再申請した場合にインクリメント

3つの負でない整数

…細かいことは気にしないでください。

5
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
0