From 35dc2d239eb173b8ec506bd04ca94fbbdf7b7c8b Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Mon, 22 Oct 2012 13:20:26 +0200 Subject: [PATCH] fix passing the UIAutomation bridgesupport file to the compiler --- lib/motion/project/config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/config.rb b/lib/motion/project/config.rb index dcb13a73..a0879547 100644 --- a/lib/motion/project/config.rb +++ b/lib/motion/project/config.rb @@ -341,6 +341,7 @@ EOS @bridgesupport_files ||= begin bs_files = [] deps = ['RubyMotion'] + (frameworks_dependencies + weak_frameworks).uniq + deps << 'UIAutomation' if spec_mode deps.each do |framework| supported_versions.each do |ver| next if ver < deployment_target || sdk_version < ver @@ -350,7 +351,6 @@ EOS end end end - deps << 'UIAutomation' if spec_mode bs_files end end