I'm using ${osx_major_version} and ${osx_version} to check for the version of the OSX operating system.

On my Mac OS X 10.9 preview, the installer sees following version information:

${osx_major_version}:  unknown
${osx_version}:        unknown

Whereas calling sw_vers on the command-line gives this information:

$ /usr/bin/sw_vers
ProductName:    Mac OS X
ProductVersion: 10.9
BuildVersion:   13A476u

And calling uname:

$ /usr/bin/uname -a
Darwin Dirks-Mac.local 13.0.0 Darwin Kernel Version 13.0.0: Sat Jun  1 01:13:40 PDT 2013; root:xnu-2422. x86_64

Is this a bug in InstallBuilder, or will this issue be fixed automatically with the relase version of Mac OS X 10.9?

asked 21 Jun '13, 09:37

Dirk%20Stegemann's gravatar image

Dirk Stegemann
accept rate: 31%

OS X 10.9 is not yet officially supported. While that is released, you can use a regular expression to get the version:


answered 27 Jun '13, 09:06

juanjo's gravatar image

juanjo ♦♦
accept rate: 23%

Now that OS X 10.9 'Mavericks' is officially released, I'm still missing support by the BitRock InstallBuilder tool:

The variables osx_major_version and osx_version still report "unknown".

I'm using the latest InstallBuilder tool ("IB: 8.6.0-201306261620").

(20 Jan '14, 06:51) Dirk Stegemann

We are working in a new version that will include it, in the meantime you could write us to support@bitrock.com and we will provide you with an updated version.

(20 Jan '14, 07:00) juanjo ♦♦

Since InstallBuilder version 8.6.0-201401281501, all version are reported correctly on OS X.


answered 29 Jan '14, 07:22

Dirk%20Stegemann's gravatar image

Dirk Stegemann
accept rate: 31%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 21 Jun '13, 09:37

Seen: 4,564 times

Last updated: 29 Jan '14, 07:22