こんなのあったのか。
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他には現在のバージョンを表示するなどもある。
詳しくはサイトの情報を参考に。
探すと日本語情報あり。結構前からあったようだ。



