Closed
requested to merge github/fork/ProfessaA/project_generator_adds_test_host_app_as_target_dependency into master
Created by: ProfessaA
background
Previously, the generated xcode project for apple_test
s that specified a host app, did not add the app under the test's "Target Dependencies" build phase. As a result, these tests failed to build if the host app hadn't already been built.
change
Adds the host app under the test target's "Target Dependencies" build phase.
verification
-
verify that the host app is a target dependency for unit tests with a specified host app -
verify that the host app is a target dependency for UI tests -
verify that logic tests without host apps continue to be generated correctly -
verify that tests with host apps in a different project don't add the app as a target dependency -
update ProjectGeneratorTest