From c2d356926eecfaea1c4f0a21ad5e97ee5e62bc54 Mon Sep 17 00:00:00 2001 From: bjornoleh Date: Fri, 1 Dec 2023 19:36:10 +0100 Subject: [PATCH] Fastfile: Fix bundle ID for FreeAPS-iAPSdev --- fastlane/Fastfile | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 275e90f0de..6cc47e3a18 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -40,7 +40,7 @@ platform :ios do ) previous_build_number = latest_testflight_build_number( - app_identifier: "ru.artpancreas.#{TEAMID}.FreeAPS", + app_identifier: "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev", api_key: api_key, ) @@ -55,15 +55,15 @@ platform :ios do type: "appstore", git_basic_authorization: Base64.strict_encode64("#{GITHUB_REPOSITORY_OWNER}:#{GH_PAT}"), app_identifier: [ - "ru.artpancreas.#{TEAMID}.FreeAPS", - "ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp", - "ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp.watchkitextension", - "ru.artpancreas.#{TEAMID}.FreeAPS.LiveActivity" + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev", + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp", + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp.watchkitextension", + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.LiveActivity" ] ) previous_build_number = latest_testflight_build_number( - app_identifier: "ru.artpancreas.#{TEAMID}.FreeAPS", + app_identifier: "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev", api_key: api_key, ) @@ -80,27 +80,27 @@ platform :ios do update_code_signing_settings( path: "#{GITHUB_WORKSPACE}/FreeAPS.xcodeproj", - profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS"], + profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev"], code_sign_identity: "iPhone Distribution", targets: ["FreeAPS"] ) update_code_signing_settings( path: "#{GITHUB_WORKSPACE}/FreeAPS.xcodeproj", - profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp.watchkitextension"], + profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp.watchkitextension"], code_sign_identity: "iPhone Distribution", targets: ["FreeAPSWatch WatchKit Extension"] ) update_code_signing_settings( path: "#{GITHUB_WORKSPACE}/FreeAPS.xcodeproj", - profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp"], + profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp"], code_sign_identity: "iPhone Distribution", targets: ["FreeAPSWatch"] ) update_code_signing_settings( path: "#{GITHUB_WORKSPACE}/FreeAPS.xcodeproj", - profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS.LiveActivity"], + profile_name: mapping["ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.LiveActivity"], code_sign_identity: "iPhone Distribution", targets: ["LiveActivityExtension"] ) @@ -155,22 +155,22 @@ platform :ios do } end - configure_bundle_id("FreeAPS", "ru.artpancreas.#{TEAMID}.FreeAPS", [ + configure_bundle_id("FreeAPS", "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev", [ Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS, Spaceship::ConnectAPI::BundleIdCapability::Type::HEALTHKIT, Spaceship::ConnectAPI::BundleIdCapability::Type::NFC_TAG_READING ]) - configure_bundle_id("FreeAPSWatch WatchKit Extension", "ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp.watchkitextension", [ + configure_bundle_id("FreeAPSWatch WatchKit Extension", "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp.watchkitextension", [ Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS, Spaceship::ConnectAPI::BundleIdCapability::Type::HEALTHKIT ]) - configure_bundle_id("FreeAPSWatch", "ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp", [ + configure_bundle_id("FreeAPSWatch", "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp", [ Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS ]) - configure_bundle_id("LiveActivityExtension", "ru.artpancreas.#{TEAMID}.FreeAPS.LiveActivity", [ + configure_bundle_id("LiveActivityExtension", "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.LiveActivity", [ Spaceship::ConnectAPI::BundleIdCapability::Type::APP_GROUPS ]) @@ -192,10 +192,10 @@ platform :ios do force: true, git_basic_authorization: Base64.strict_encode64("#{GITHUB_REPOSITORY_OWNER}:#{GH_PAT}"), app_identifier: [ - "ru.artpancreas.#{TEAMID}.FreeAPS", - "ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp.watchkitextension", - "ru.artpancreas.#{TEAMID}.FreeAPS.watchkitapp", - "ru.artpancreas.#{TEAMID}.FreeAPS.LiveActivity" + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev", + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp.watchkitextension", + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.watchkitapp", + "ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev.LiveActivity" ] ) end @@ -215,7 +215,7 @@ platform :ios do bundle_id = Spaceship::ConnectAPI::BundleId.find(identifier) end - find_bundle_id("ru.artpancreas.#{TEAMID}.FreeAPS") + find_bundle_id("ru.artpancreas.#{TEAMID}.FreeAPS-iAPSdev") match( type: "appstore",