From 6b16f901c595128a6b3bd7db9f7895c3a1c015cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Wed, 3 Dec 2014 21:28:53 +0100 Subject: [PATCH] [WatchKit] Add some more logging. --- lib/motion/project/template/ios.rb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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"