From f1cdacc2dc88b06fb84adb399715d816d4fc2f73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakob=20K=C3=B6rber?= <56073945+jakobkoerber@users.noreply.github.com> Date: Sat, 18 Nov 2023 15:58:06 +0100 Subject: [PATCH] Update workflow with right bundle id --- .github/workflows/deploy_beta.yml | 1 + ios/Runner.xcodeproj/project.pbxproj | 15 ++++++++++++--- ios/fastlane/Appfile | 2 +- ios/fastlane/Fastfile | 2 +- ios/fastlane/Matchfile | 2 +- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy_beta.yml b/.github/workflows/deploy_beta.yml index 8562c9be..447cd30b 100644 --- a/.github/workflows/deploy_beta.yml +++ b/.github/workflows/deploy_beta.yml @@ -1,6 +1,7 @@ name: Deploy Beta to TestFlight and Play Store on: + workflow_dispatch: push: branches: - main diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 4169dce3..11486a81 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -374,6 +374,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 2J3C6P6X3N; ENABLE_BITCODE = NO; @@ -383,8 +385,9 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = de.tum.gocast; + PRODUCT_BUNDLE_IDENTIFIER = de.tum.cit.ase.ios2324.tum; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -549,6 +552,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 2J3C6P6X3N; ENABLE_BITCODE = NO; @@ -558,8 +563,9 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = de.tum.gocast; + PRODUCT_BUNDLE_IDENTIFIER = de.tum.cit.ase.ios2324.tum; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -573,6 +579,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 2J3C6P6X3N; ENABLE_BITCODE = NO; @@ -582,8 +590,9 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = de.tum.gocast; + PRODUCT_BUNDLE_IDENTIFIER = de.tum.cit.ase.ios2324.tum; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; diff --git a/ios/fastlane/Appfile b/ios/fastlane/Appfile index 74d99b7d..527dc60e 100644 --- a/ios/fastlane/Appfile +++ b/ios/fastlane/Appfile @@ -1,4 +1,4 @@ -app_identifier("de.tum.gocast") +app_identifier("de.tum.cit.ase.ios2324.tum") team_name("Technische Universitaet Muenchen") team_id("2J3C6P6X3N") itc_team_name("Technische Universitaet Muenchen") diff --git a/ios/fastlane/Fastfile b/ios/fastlane/Fastfile index cc24e7bb..85bf47c4 100644 --- a/ios/fastlane/Fastfile +++ b/ios/fastlane/Fastfile @@ -31,7 +31,7 @@ platform :ios do update_code_signing_settings( use_automatic_signing: false, targets: 'Runner', - profile_name: 'match AppStore de.tum.gocast 1700084531', + profile_name: 'match AppStore de.tum.cit.ase.ios2324.tum', code_sign_identity: "iPhone Distribution", sdk: "iphoneos*", team_id: "2J3C6P6X3N" diff --git a/ios/fastlane/Matchfile b/ios/fastlane/Matchfile index aae1ff45..32d7b09f 100644 --- a/ios/fastlane/Matchfile +++ b/ios/fastlane/Matchfile @@ -1,4 +1,4 @@ git_url("git@github.com:TUM-Dev/gocast-Match.git") storage_mode("git") type("appstore") -app_identifier(["de.tum.gocast"]) \ No newline at end of file +app_identifier(["de.tum.cit.ase.ios2324.tum"]) \ No newline at end of file