You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to set a specific Host Application to my Target of type .unitTests which tests a Target of type .framework.
Motivation
I have a Target of type .framework which makes use of the Keychain. In order to test the Keychain, the tests have to run in a device, they can't run directly on the framework. In other words, there can't be a Keychain without a Simulator or device.
I've tried to change the test target settings with:
However, this is not enough and it produces the following configuration, where the Host Application is not being set properly.
I've tried to manually change the Host Application from Xcode user interface, and the changes that are applied to the xcodeproj file include setting TEST_HOST to $(BUILT_PRODUCTS_DIR)/HostTarget.app/HostTarget but also TestTargetID = E4E2F9AB233E5A0600B3CE9B; and this I have no idea how to obtain from the Project.swift file
Visual desired outcome
The text was updated successfully, but these errors were encountered:
Need/problem
I need to set a specific Host Application to my Target of type
.unitTests
which tests a Target of type.framework
.Motivation
I have a Target of type
.framework
which makes use of the Keychain. In order to test the Keychain, the tests have to run in a device, they can't run directly on the framework. In other words, there can't be a Keychain without a Simulator or device.I've tried to change the test target settings with:
However, this is not enough and it produces the following configuration, where the Host Application is not being set properly.
I've tried to manually change the Host Application from Xcode user interface, and the changes that are applied to the xcodeproj file include setting
TEST_HOST
to$(BUILT_PRODUCTS_DIR)/HostTarget.app/HostTarget
but alsoTestTargetID = E4E2F9AB233E5A0600B3CE9B;
and this I have no idea how to obtain from theProject.swift
fileVisual desired outcome
The text was updated successfully, but these errors were encountered: