Skip to content

Commit

Permalink
use app_bundle_dsym() to detect dSYM path
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jul 16, 2014
1 parent 0ea5302 commit 67a844b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/motion/project/testflight.rb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def testflight?
Rake::Task["archive"].invoke

# An archived version of the .dSYM bundle is needed.
app_dsym = App.config.app_bundle('iPhoneOS').sub(/\.app$/, '.dSYM')
app_dsym = App.config.app_bundle_dsym('iPhoneOS')
app_dsym_zip = app_dsym + '.zip'
if !File.exist?(app_dsym_zip) or File.mtime(app_dsym) > File.mtime(app_dsym_zip)
Dir.chdir(File.dirname(app_dsym)) do
Expand Down

0 comments on commit 67a844b

Please sign in to comment.