Search code examples
command-lineosx-snow-leopardversioningosx-lion

Adding version infomation to an OSX command line application


On Windows I'd simply add an RC file with the right data. Do I need to assemble a bundle as usual with an info.plist/version.plist or is there a better, standard, way of doing things? This is for Snow Leopard and later if that is relevant.

Thx++


Solution

  • It is possible to embed an Info.plist file in an executable as a special Mach-o section. See for example this question.