diff --git a/lib/motion/project/template/ios.rb b/lib/motion/project/template/ios.rb index bad6aebe..492fdcaf 100644 --- a/lib/motion/project/template/ios.rb +++ b/lib/motion/project/template/ios.rb @@ -83,8 +83,12 @@ task :simulate_watch_app do Rake::Task["build:simulator"].invoke end # TODO need a way to identify a watch extension from other extensions - watch_extension = App.config.targets.first - watch_extension.rake("simulator") + #watch_extension = App.config.targets.first + #watch_extension.rake("simulator") + app = App.config.app_bundle('iPhoneSimulator') + sim = File.join(App.config.bindir, 'watch-sim') + #App.info 'Simulate', app + sh "'#{sim}' '#{app}'" end desc "Run the simulator"