統計情報(30日間)


最新情報をツイート


人気の投稿

Version / Build Number 更新ツール agvtool

このエントリーをはてなブックマークに追加

こんなのあったのか。


Build Settings/Versioningで Versioning Systemを Apple Genericに変更

あとはコマンドラインで agvtoolを実行する。

バージョン番号のインクリメント例
$ xcrun agvtool new-marketing-version 2.0
Setting CFBundleShortVersionString of project MyProject to:
    2.0.
 
Updating CFBundleShortVersionString in Info.plist(s)...
 
Updated CFBundleShortVersionString in "MyProject.xcodeproj/../MyProject/MyProject-Info.plist" to 2.0

ビルド番号の更新
$ xcrun agvtool next-version -all
Setting version of project MyProject to:
    2.
 
Also setting CFBundleVersion key (assuming it exists)
 
Updating CFBundleVersion in Info.plist(s)...
 
Updated CFBundleVersion in "MyProject.xcodeproj/../MyProject/MyProject-Info.plist" to 2


他には現在のバージョンを表示するなどもある。
詳しくはサイトの情報を参考に。


探すと日本語情報あり。結構前からあったようだ。

Leave a Reply