diff --git a/lib/motion/project/builder.rb b/lib/motion/project/builder.rb index f88a641b..496eb939 100644 --- a/lib/motion/project/builder.rb +++ b/lib/motion/project/builder.rb @@ -460,8 +460,8 @@ EOS sh "/usr/bin/dsymutil \"#{main_exec}\" -o \"#{dsym_path}\"" end - # Strip all symbols. Only in release mode. - if main_exec_created and config.release? + # Strip all symbols. Only in distribution mode. + if main_exec_created and config.distribution_mode App.info "Strip", main_exec sh "#{config.locate_binary('strip')} \"#{main_exec}\"" end