Hi,

On Xcode, I have a build script that manipulates the content of the app's
Info.plist. Basically it leaves the official version number (e.g. 1.2) as value
of the CFBundleShortVersionString key as generated by Xcode, and it sets the
value of the CFBundleVersion key to the current svn revision number.

This script is run after the 'xxx.app' dir has been created and after all
bundle resources have been copied to it.  The script runs before the actual
compilation, linkage and signing phases.

Our MT custom commands do not provide a similar 'Project Operation' phase. The
'BeforeBuild' and 'Build' commands are executed before the 'xxx.app' dir exist.
The 'AfterBuild' command runs after the codesign phase.

So none of these commands can manipulate the plist. Either it doesn't exist
yet, or it's too late while it's after the code sign phase.

I assume that it would be a minor effort to add a 'BeforeCodeSign' project
phase, or at least a phase where the 'xxx.app' dir and 'xxx.app/Info.plist'
file have been created but have not yet been signed. There's no reason why
MonoTouch (MonoDevelop) would not provide the same functionality as Xcode for
external/custom commands.

I welcome the community's opinion about this suggestion.

Guido
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to