From b3ccf122ff980f5dffe24e89afa34237247e14b5 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Thu, 8 Aug 2013 01:01:22 +0200 Subject: [PATCH] app.short_version defaults to app.version --- lib/motion/project/xcode_config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/motion/project/xcode_config.rb b/lib/motion/project/xcode_config.rb index 15b5fe5f..dca4c11b 100644 --- a/lib/motion/project/xcode_config.rb +++ b/lib/motion/project/xcode_config.rb @@ -36,7 +36,7 @@ module Motion; module Project; @framework_search_paths = [] @libs = [] @bundle_signature = '????' - @short_version = '1' + @short_version = nil @vendor_projects = [] @entitlements = {} @delegate_class = 'AppDelegate' @@ -269,7 +269,7 @@ EOS 'CFBundleExecutable' => @name, 'CFBundleInfoDictionaryVersion' => '6.0', 'CFBundlePackageType' => 'APPL', - 'CFBundleShortVersionString' => @short_version, + 'CFBundleShortVersionString' => (@short_version || @version), 'CFBundleSignature' => @bundle_signature, 'CFBundleVersion' => @version }