From c0a18bb8cf5c444d94cda6510d6f7a58aa60b818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ce=C4=BEuch?= Date: Fri, 31 May 2024 12:19:14 +0200 Subject: [PATCH] try again --- .github/workflows/package.yaml | 4 ++++ ios/Runner.xcodeproj/project.pbxproj | 33 ++++++++++++++++++---------- 2 files changed, 25 insertions(+), 12 deletions(-) diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml index 359cf16..e790206 100644 --- a/.github/workflows/package.yaml +++ b/.github/workflows/package.yaml @@ -161,6 +161,10 @@ jobs: run: flutter test - name: Building IPA + env: + FLUTTER_XCODE_DEVELOPMENT_TEAM: 44U4JSRX4Z + FLUTTER_XCODE_PROVISIONING_PROFILE_SPECIFIER: AVM Github iOS Release + FLUTTER_XCODE_CODE_SIGN_IDENTITY: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z) working-directory: ./app run: flutter build ipa --release --export-options-plist=./ios/ExportOptions.plist diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 5276798..3b4ce7b 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -229,11 +229,14 @@ TargetAttributes = { 331C8080294A63A400263BE5 = { CreatedOnToolsVersion = 14.0; + DevelopmentTeam = 44U4JSRX4Z; TestTargetID = 97C146ED1CF9000F007C117D; }; 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; + DevelopmentTeam = 44U4JSRX4Z; LastSwiftMigration = 1100; + ProvisioningStyle = Manual; }; }; }; @@ -497,8 +500,8 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_IDENTITY = "Apple Distribution: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z)"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 44U4JSRX4Z; ENABLE_BITCODE = NO; @@ -511,7 +514,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = digital.slovensko.avm; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; + PROVISIONING_PROFILE_SPECIFIER = "AVM Github iOS Release"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -523,8 +526,10 @@ baseConfigurationReference = 482D3012E9DC99B53E846DCC /* Pods-RunnerTests.debug.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_IDENTITY = "Apple Distribution: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z)"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 44U4JSRX4Z; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = digital.slovensko.avm.RunnerTests; @@ -541,8 +546,10 @@ baseConfigurationReference = 5C2114DCE196AC51F053B5ED /* Pods-RunnerTests.release.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_IDENTITY = "Apple Distribution: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z)"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 44U4JSRX4Z; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = digital.slovensko.avm.RunnerTests; @@ -557,8 +564,10 @@ baseConfigurationReference = 633D3F7526F9F1D5F6106894 /* Pods-RunnerTests.profile.xcconfig */; buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_IDENTITY = "Apple Distribution: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z)"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 44U4JSRX4Z; GENERATE_INFOPLIST_FILE = YES; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = digital.slovensko.avm.RunnerTests; @@ -682,8 +691,8 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_IDENTITY = "Apple Distribution: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z)"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 44U4JSRX4Z; ENABLE_BITCODE = NO; @@ -696,7 +705,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = digital.slovensko.avm; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; + PROVISIONING_PROFILE_SPECIFIER = "AVM Github iOS Release"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; @@ -711,8 +720,8 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; - CODE_SIGN_IDENTITY = "Apple Development"; - CODE_SIGN_STYLE = Automatic; + CODE_SIGN_IDENTITY = "Apple Distribution: Sluzby Slovensko.Digital, s.r.o. (44U4JSRX4Z)"; + CODE_SIGN_STYLE = Manual; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; DEVELOPMENT_TEAM = 44U4JSRX4Z; ENABLE_BITCODE = NO; @@ -725,7 +734,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = digital.slovensko.avm; PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; + PROVISIONING_PROFILE_SPECIFIER = "AVM Github iOS Release"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic";