diff --git a/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/project.pbxproj b/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/project.pbxproj index 821bfde..bb41326 100644 --- a/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/project.pbxproj +++ b/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/project.pbxproj @@ -67,7 +67,7 @@ 331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; }; 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; }; - 33CC10ED2044A3C60003C045 /* {{ cookiecutter.project_name }}.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "{{ cookiecutter.project_name }}.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 33CC10ED2044A3C60003C045 /* {{ cookiecutter.artifact_name }}.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "{{ cookiecutter.artifact_name }}.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; }; 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; }; @@ -134,7 +134,7 @@ 33CC10EE2044A3C60003C045 /* Products */ = { isa = PBXGroup; children = ( - 33CC10ED2044A3C60003C045 /* {{ cookiecutter.project_name }}.app */, + 33CC10ED2044A3C60003C045 /* {{ cookiecutter.artifact_name }}.app */, 331C80D5294CF71000263BE5 /* RunnerTests.xctest */, ); name = Products; @@ -220,7 +220,7 @@ ); name = Runner; productName = Runner; - productReference = 33CC10ED2044A3C60003C045 /* {{ cookiecutter.project_name }}.app */; + productReference = 33CC10ED2044A3C60003C045 /* {{ cookiecutter.artifact_name }}.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -412,7 +412,7 @@ PRODUCT_BUNDLE_IDENTIFIER = {{ cookiecutter.bundle_id }}.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/{{ cookiecutter.project_name }}.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/{{ cookiecutter.project_name }}"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/{{ cookiecutter.artifact_name }}.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/{{ cookiecutter.artifact_name }}"; }; name = Debug; }; @@ -426,7 +426,7 @@ PRODUCT_BUNDLE_IDENTIFIER = {{ cookiecutter.bundle_id }}.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/{{ cookiecutter.project_name }}.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/{{ cookiecutter.project_name }}"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/{{ cookiecutter.artifact_name }}.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/{{ cookiecutter.artifact_name }}"; }; name = Release; }; @@ -440,7 +440,7 @@ PRODUCT_BUNDLE_IDENTIFIER = {{ cookiecutter.bundle_id }}.RunnerTests; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/{{ cookiecutter.project_name }}.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/{{ cookiecutter.project_name }}"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/{{ cookiecutter.artifact_name }}.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/{{ cookiecutter.artifact_name }}"; }; name = Profile; }; diff --git a/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index ca9dd25..0a5b27e 100644 --- a/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/{{cookiecutter.out_dir}}/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -15,7 +15,7 @@ @@ -31,7 +31,7 @@ @@ -65,7 +65,7 @@ @@ -82,7 +82,7 @@ diff --git a/{{cookiecutter.out_dir}}/macos/Runner/Configs/AppInfo.xcconfig b/{{cookiecutter.out_dir}}/macos/Runner/Configs/AppInfo.xcconfig index 673a8f3..1f4f851 100644 --- a/{{cookiecutter.out_dir}}/macos/Runner/Configs/AppInfo.xcconfig +++ b/{{cookiecutter.out_dir}}/macos/Runner/Configs/AppInfo.xcconfig @@ -4,8 +4,8 @@ // future. If not, the values below would default to using the project name when this becomes a // 'flutter create' template. -// The application's name. By default this is also the title of the Flutter window. -PRODUCT_NAME = {{ cookiecutter.product_name }} +// The application's bundle name on disk. +PRODUCT_NAME = {{ cookiecutter.artifact_name }} // The application's bundle identifier PRODUCT_BUNDLE_IDENTIFIER = {{ cookiecutter.bundle_id }} diff --git a/{{cookiecutter.out_dir}}/macos/Runner/Info.plist b/{{cookiecutter.out_dir}}/macos/Runner/Info.plist index a87e6be..300817e 100644 --- a/{{cookiecutter.out_dir}}/macos/Runner/Info.plist +++ b/{{cookiecutter.out_dir}}/macos/Runner/Info.plist @@ -12,6 +12,8 @@ $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 + CFBundleDisplayName + {{ cookiecutter.product_name }} CFBundleName $(PRODUCT_NAME) CFBundlePackageType