XCodeを使用してiPhoneアプリケーションをビルドしています。ここでは、以下に示すXCodeビルド手順と同じ方法でinfoplistファイルを外部処理したいと考えています。
Processing /Users/kte/Projects/build/Debug-iphonesimulator/TestAppGen.app/Info.plist TestAppGen-Info.plist
mkdir /Users/kte/Projects/build/Debug-iphonesimulator/TestAppGen.app
cd /Users/kte/Projects/TestAppGen
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
<com.apple.tools.info-plist-utility> TestAppGen-Info.plist -genpkginfo /Users/kte/Projects/build/Debug-iphonesimulator/TestAppGen.app/PkgInfo -expandbuildsettings -format xml -o /Users/kte/Projects/build/Debug-iphonesimulator/TestAppGen.app/Info.plist
ビルドログからのこの抜粋は、ネット上のさまざまなソースから収集したcom.apple.tools.info-plist-utilityを参照しています。これは内部XCodeユーティリティです。
コマンドラインからcom.apple.tools.info-plist-utilityを実行することは可能ですか?