Merge pull request #91 from danieldickison/master

Set NSZombieEnabled=YES in simulator by passing zombie=1 to rake
This commit is contained in:
Colin T.A. Gray
2013-06-13 08:07:42 -07:00

View File

@@ -101,6 +101,7 @@ END
xcode = App.config.xcode_dir
env = "DYLD_FRAMEWORK_PATH=\"#{xcode}/../Frameworks\":\"#{xcode}/../OtherFrameworks\""
env << ' SIM_SPEC_MODE=1' if App.config.spec_mode
env << ' NSZombieEnabled=YES' if ENV['zombie']
sim = File.join(App.config.bindir, 'ios/sim')
debug = (ENV['debug'] ? 1 : (App.config.spec_mode ? '0' : '2'))
app_args = (ENV['args'] or '')