From 8046255d31d3d88afe96785486ad694a1adb2066 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne Date: Mon, 20 Jan 2025 12:41:30 +0100 Subject: [PATCH] refactor: update short (bundle display) and long (produc) names (#85) Signed-off-by: Pierre-Yves Lapersonne --- DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj | 4 ++-- DesignToolbox/DesignToolbox/Info.plist | 2 +- DesignToolbox/fastlane/Fastfile | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj b/DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj index fa1be7dfa..25b4b5957 100644 --- a/DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj +++ b/DesignToolbox/DesignToolbox.xcodeproj/project.pbxproj @@ -1382,7 +1382,7 @@ ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = DesignToolbox/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "Design System Toolbox (DEBUG)"; + INFOPLIST_KEY_CFBundleDisplayName = "DesignToolbox (DEBUG)"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; @@ -1421,7 +1421,7 @@ ENABLE_PREVIEWS = YES; GENERATE_INFOPLIST_FILE = NO; INFOPLIST_FILE = DesignToolbox/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = "Design System Toolbox (DEBUG)"; + INFOPLIST_KEY_CFBundleDisplayName = "DesignToolbox (DEBUG)"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UILaunchScreen_Generation = YES; diff --git a/DesignToolbox/DesignToolbox/Info.plist b/DesignToolbox/DesignToolbox/Info.plist index be2434871..5519e86ff 100644 --- a/DesignToolbox/DesignToolbox/Info.plist +++ b/DesignToolbox/DesignToolbox/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName - Design System Toolbox (DEBUG) + DesignToolbox (DEBUG) CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier diff --git a/DesignToolbox/fastlane/Fastfile b/DesignToolbox/fastlane/Fastfile index fd9bc80b2..842043b16 100644 --- a/DesignToolbox/fastlane/Fastfile +++ b/DesignToolbox/fastlane/Fastfile @@ -218,7 +218,7 @@ platform :ios do # CFBundleVersion and CFBundleShortVersionString must follow rules with integers and periods, should not change them # But still possible to change CFBundleDisplayName - new_display_name = "Design System Toolbox ALPHA (#{issues_numbers})" + new_display_name = "DesignToolbox (ALPHA) (#{issues_numbers})" puts "ℹ️ New display name version will be: '#{new_display_name}'" set_info_plist_value(path: "#{Dir.pwd}/../DesignToolbox/Info.plist", key: "CFBundleDisplayName", value: new_display_name) @@ -241,7 +241,7 @@ platform :ios do sh "cp -R AppIconBeta.appiconset AppIconRelease.appiconset" end - new_display_name = "Design System Toolbox (BETA)" + new_display_name = "DesignToolbox (BETA)" puts "ℹ️ New display name version will be: '#{new_display_name}'" set_info_plist_value(path: "#{Dir.pwd}/../DesignToolbox/Info.plist", key: "CFBundleDisplayName", value: new_display_name) @@ -260,7 +260,7 @@ platform :ios do puts "👉 Prod" update_build_number - new_display_name = "Design System Toolbox" + new_display_name = "DesignToolbox" puts "ℹ️ New display name version will be: '#{new_display_name}'" set_info_plist_value(path: "#{Dir.pwd}/../DesignToolbox/Info.plist", key: "CFBundleDisplayName", value: new_display_name)