-
Notifications
You must be signed in to change notification settings - Fork 1.5k
fix(crashlytics): Rename test target's host app scheme #1788
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,7 +52,7 @@ | |
| containerPortal = 5F5A53441ADE670C00F81DF0 /* Project object */; | ||
| proxyType = 1; | ||
| remoteGlobalIDString = C73C899D26845908003E5C2C; | ||
| remoteInfo = "CrashlyticsSwiftUIExample (iOS)"; | ||
| remoteInfo = "CrashlyticsExample"; | ||
| }; | ||
| C745940626BDDD6200153AE3 /* PBXContainerItemProxy */ = { | ||
| isa = PBXContainerItemProxy; | ||
|
|
@@ -374,7 +374,7 @@ | |
| packageProductDependencies = ( | ||
| 8D00BB762D3B0AFF00F6F6DD /* FirebaseCrashlytics */, | ||
| ); | ||
| productName = "CrashlyticsSwiftUIExample (iOS)"; | ||
| productName = "CrashlyticsExample"; | ||
| productReference = C73C899E26845908003E5C2C /* CrashlyticsSwiftUIExample.app */; | ||
| productType = "com.apple.product-type.application"; | ||
| }; | ||
|
|
@@ -933,7 +933,7 @@ | |
| SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
| SWIFT_VERSION = 5.0; | ||
| TARGETED_DEVICE_FAMILY = "1,2"; | ||
| TEST_TARGET_NAME = "CrashlyticsSwiftUIExample (iOS)"; | ||
| TEST_TARGET_NAME = "CrashlyticsExample"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The |
||
| }; | ||
| name = Debug; | ||
| }; | ||
|
|
@@ -963,7 +963,7 @@ | |
| PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| SWIFT_VERSION = 5.0; | ||
| TARGETED_DEVICE_FAMILY = "1,2"; | ||
| TEST_TARGET_NAME = "CrashlyticsSwiftUIExample (iOS)"; | ||
| TEST_TARGET_NAME = "CrashlyticsExample"; | ||
| }; | ||
| name = Release; | ||
| }; | ||
|
|
@@ -1356,7 +1356,7 @@ | |
| SWIFT_OPTIMIZATION_LEVEL = "-Onone"; | ||
| SWIFT_VERSION = 5.0; | ||
| TARGETED_DEVICE_FAMILY = 4; | ||
| TEST_TARGET_NAME = "CrashlyticsSwiftUIExample_(watchOS)"; | ||
| TEST_TARGET_NAME = "CrashlyticsExample (watchOS)"; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There's a mismatch between the new |
||
| WATCHOS_DEPLOYMENT_TARGET = 7.4; | ||
| }; | ||
| name = Debug; | ||
|
|
@@ -1391,7 +1391,7 @@ | |
| SWIFT_EMIT_LOC_STRINGS = NO; | ||
| SWIFT_VERSION = 5.0; | ||
| TARGETED_DEVICE_FAMILY = 4; | ||
| TEST_TARGET_NAME = "CrashlyticsSwiftUIExample_(watchOS)"; | ||
| TEST_TARGET_NAME = "CrashlyticsExample (watchOS)"; | ||
| WATCHOS_DEPLOYMENT_TARGET = 7.4; | ||
| }; | ||
| name = Release; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change to
productNameis inconsistent with thePRODUCT_NAMEbuild setting for this target. The build setting is stillCrashlyticsSwiftUIExamplein the Debug (line 996) and Release (line 1031) configurations. Since the build setting takes precedence, the final product will still be namedCrashlyticsSwiftUIExample.app. This makes the change here confusing and ineffective. To complete the rename, you should also update thePRODUCT_NAMEbuild setting.