lib/xcake/dsl/project/sugar.rb in xcake-0.9.3 vs lib/xcake/dsl/project/sugar.rb in xcake-0.9.4
- old
+ new
@@ -58,9 +58,13 @@
t.name = "#{host_target.name}UITests"
t.type = :ui_test_bundle
configure_test_target_for_host_target(t, host_target)
+ t.all_configurations.each do |c|
+ c.settings['TEST_TARGET_NAME'] = host_target.name
+ end
+
yield(t) if block_given?
end
end
# Defines a new unit test target.