Skip to content

Commit

Permalink
[Xcodegen] Update app display name and compilation flags labels
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasBuquet committed Oct 16, 2024
1 parent e6c0f3a commit cb7e0b2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions TchapX/SupportingFiles/target-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,17 +117,17 @@ targets:
BASE_APP_GROUP_IDENTIFIER: fr.gouv.tchapx.dev
BASE_BUNDLE_IDENTIFIER: fr.gouv.tchapx.dev
APP_NAME: TchapX-Development
APP_DISPLAY_NAME: TchapX Development
ASSETCATALOG_COMPILER_APPICON_NAME: TchapX-icon

APP_DISPLAY_NAME: TchapX Development # The name used in the application.

PRODUCT_NAME: $(APP_NAME)
PRODUCT_BUNDLE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER)
ASSETCATALOG_COMPILER_APPICON_NAME: TchapX-icon
CODE_SIGN_ENTITLEMENTS: TchapX/development/SupportingFiles/tchapx.entitlements
SWIFT_OBJC_BRIDGING_HEADER: ElementX/SupportingFiles/ElementX-Bridging-Header.h
SWIFT_OBJC_INTERFACE_HEADER_NAME: GeneratedInterface-Swift.h
PILLS_UT_TYPE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER).pills
OTHER_SWIFT_FLAGS:
- "-DIS_MAIN_APP -DIS_ENVIRONMENT_DEVELOPMENT"
- "-DIS_MAIN_APP -DIS_TCHAP_DEVELOPMENT"


preBuildScripts:
Expand Down
4 changes: 2 additions & 2 deletions TchapX/SupportingFiles/target-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ targets:
BASE_APP_GROUP_IDENTIFIER: fr.gouv.tchapx
BASE_BUNDLE_IDENTIFIER: fr.gouv.tchapx
APP_NAME: TchapX-Production
APP_DISPLAY_NAME: TchapX Production
APP_DISPLAY_NAME: TchapX # The name used in the application.

PRODUCT_NAME: $(APP_NAME)
PRODUCT_BUNDLE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER)
Expand All @@ -127,7 +127,7 @@ targets:
SWIFT_OBJC_INTERFACE_HEADER_NAME: GeneratedInterface-Swift.h
PILLS_UT_TYPE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER).pills
OTHER_SWIFT_FLAGS:
- "-DIS_MAIN_APP -DIS_ENVIRONMENT_PRODUCTION"
- "-DIS_MAIN_APP -DIS_TCHAP_PRODUCTION"

preBuildScripts:
- name: 🛠 SwiftGen
Expand Down
4 changes: 2 additions & 2 deletions TchapX/SupportingFiles/target-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ targets:
BASE_APP_GROUP_IDENTIFIER: fr.gouv.tchapx.staging
BASE_BUNDLE_IDENTIFIER: fr.gouv.tchapx.staging
APP_NAME: TchapX-Staging
APP_DISPLAY_NAME: TchapX Staging
APP_DISPLAY_NAME: TchapX Staging # The name used in the application.

PRODUCT_NAME: $(APP_NAME)
PRODUCT_BUNDLE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER)
Expand All @@ -127,7 +127,7 @@ targets:
SWIFT_OBJC_INTERFACE_HEADER_NAME: GeneratedInterface-Swift.h
PILLS_UT_TYPE_IDENTIFIER: $(BASE_BUNDLE_IDENTIFIER).pills
OTHER_SWIFT_FLAGS:
- "-DIS_MAIN_APP -DIS_ENVIRONMENT_STAGING"
- "-DIS_MAIN_APP -DIS_TCHAP_STAGING"

preBuildScripts:
- name: 🛠 SwiftGen
Expand Down
2 changes: 1 addition & 1 deletion TchapX/production/SupportingFiles/NSE/target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ targets:
BASE_APP_GROUP_IDENTIFIER: fr.gouv.tchapx
BASE_BUNDLE_IDENTIFIER: fr.gouv.tchapx
APP_NAME: TchapX-NSE-Production
APP_DISPLAY_NAME: TchapX-NSE Production
APP_DISPLAY_NAME: TchapX-NSE

PRODUCT_NAME: TchapX-NSE-Production
PRODUCT_DISPLAY_NAME: $(APP_DISPLAY_NAME)
Expand Down

0 comments on commit cb7e0b2

Please sign in to comment.