mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 09:31:20 +08:00
fix passing the UIAutomation bridgesupport file to the compiler
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user