diff --git a/lib/motion/project/config.rb b/lib/motion/project/config.rb index ada47b58..c37858a4 100644 --- a/lib/motion/project/config.rb +++ b/lib/motion/project/config.rb @@ -199,10 +199,6 @@ module Motion; module Project end end - def versionized_build_dir(platform) - File.join(build_dir, platform + '-' + deployment_target + '-' + build_mode_name) - end - attr_reader :project_dir def project_file diff --git a/lib/motion/project/xcode_config.rb b/lib/motion/project/xcode_config.rb index e27f960d..c03ecaaa 100644 --- a/lib/motion/project/xcode_config.rb +++ b/lib/motion/project/xcode_config.rb @@ -242,6 +242,10 @@ EOS @name + (spec_mode ? '_spec' : '') end + def versionized_build_dir(platform) + File.join(build_dir, platform + '-' + deployment_target + '-' + build_mode_name) + end + def app_bundle_dsym(platform) File.join(versionized_build_dir(platform), bundle_name + '.dSYM') end