diff --git a/lib/motion/project.rb b/lib/motion/project.rb index 32e4b313..a6481157 100644 --- a/lib/motion/project.rb +++ b/lib/motion/project.rb @@ -61,7 +61,7 @@ end desc "Run the simulator" task :simulator => ['build:simulator'] do app = App.config.app_bundle('iPhoneSimulator') - target = App.config.sdk_version + target = ENV['target'] || App.config.deployment_target # Cleanup the simulator application sandbox, to avoid having old resource files there. if ENV['clean']