-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: Test run failed for not finding host application for staging scheme #519
Comments
@Shayokh144 This looks like a feature because we didn't support it before 🤔 Should we change it to |
I think it's a bug, as we have used different |
[#519] Fix: Test run failed for not finding host application for staging scheme
Issue
Test run failed for not finding host application for staging scheme
Expected
Our template used different product name for different configurations. For example:
DebugProduction contains:
PRODUCT_NAME = $(TARGET_NAME)
DebugStaging contains:
PRODUCT_NAME = $(TARGET_NAME) Staging
Sometime for getting different app name for different scheme we set
product name
inbuild settings
usingPRODUCT_NAME
from configuration files like this:As a result when we run
TARGET_NAME
scheme the app name in iPhone showsTARGET_NAME
and when we runTARGET_NAME staging
scheme the app name in iPhone showsTARGET_NAME staging
as app name.But when we run test for
TARGET_NAME Staging
scheme, the test run throws an error because the product name and target name is different.The expectation is test should run on both scheme and app name should be different for different scheme.
Steps to reproduce
product name
in build settings to use xcconfig filesPRODUCT_NAME
TARGET_NAME staging
schemeThe text was updated successfully, but these errors were encountered: