diff --git a/solara/lib/core/scripts/platform/ios/xcconfig_generator.rb b/solara/lib/core/scripts/platform/ios/xcconfig_generator.rb index 4a9e8b2..797f0c8 100644 --- a/solara/lib/core/scripts/platform/ios/xcconfig_generator.rb +++ b/solara/lib/core/scripts/platform/ios/xcconfig_generator.rb @@ -18,7 +18,7 @@ def generate def generate_xcconfig_content content = <<~XCCONFIG - ASSETCATALOG_COMPILER_APPICON_NAME = #{FilePath.artifacts_dir_name_ios}/AppIcon + APPICON_NAME = AppIcon PRODUCT_NAME = #{get_value_of(InfoPListKey::BUNDLE_DISPLAY_NAME)} CFBUNDLE_DISPLAY_NAME = #{get_value_of(InfoPListKey::BUNDLE_DISPLAY_NAME)} CFBUNDLE_NAME = #{get_value_of(InfoPListKey::BUNDLE_NAME)} diff --git a/solara/lib/core/scripts/platform/ios/xcode_project_switcher.rb b/solara/lib/core/scripts/platform/ios/xcode_project_switcher.rb index e540f72..3d493fd 100644 --- a/solara/lib/core/scripts/platform/ios/xcode_project_switcher.rb +++ b/solara/lib/core/scripts/platform/ios/xcode_project_switcher.rb @@ -23,7 +23,7 @@ def update_xcode_target_settings @target.build_configurations.each do |config| config.build_settings['PRODUCT_BUNDLE_IDENTIFIER'] = '$(PRODUCT_BUNDLE_IDENTIFIER)' config.build_settings['MARKETING_VERSION'] = '$(MARKETING_VERSION)' - config.build_settings['ASSETCATALOG_COMPILER_APPICON_NAME'] = "$(#{FilePath.artifacts_dir_name_ios}/AppIcon)" + config.build_settings['ASSETCATALOG_COMPILER_APPICON_NAME'] = '$(APPICON_NAME)' config.build_settings['PRODUCT_NAME'] = '$(PRODUCT_NAME)' # We need to apply code signing only if the user has provided its config