mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 22:42:55 +08:00
only strip symbols in distribution mode (because it breaks the repl module otherwise)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user