Method: XcodePages.build_version
- Defined in:
- lib/XcodePages.rb
.build_version ⇒ Object
Answers the project build version using Apple’s agvtool. This is the real version number, equating to CURRENT_PROJECT_VERSION.
58 59 60 61 |
# File 'lib/XcodePages.rb', line 58 def self.build_version vers = %x(agvtool vers -terse).chomp vers =~ /\$\{(\w+)\}/ ? ENV[$1] : vers end |