From c346929591264ee429a5c63d53682799cf9e6c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pedersen?= Date: Mon, 12 Aug 2024 22:46:05 +0200 Subject: [PATCH] Configure CI and project for distribution --- .../{build_archive_app_store.yml => build_IPA_app_store.yml} | 4 ++-- ios/Runner.xcodeproj/project.pbxproj | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) rename .github/workflows/{build_archive_app_store.yml => build_IPA_app_store.yml} (96%) diff --git a/.github/workflows/build_archive_app_store.yml b/.github/workflows/build_IPA_app_store.yml similarity index 96% rename from .github/workflows/build_archive_app_store.yml rename to .github/workflows/build_IPA_app_store.yml index cf542a0..fa4c160 100644 --- a/.github/workflows/build_archive_app_store.yml +++ b/.github/workflows/build_IPA_app_store.yml @@ -1,4 +1,4 @@ -name: Build IPA +name: Build IPA for App Store on: # Allows you to run this workflow manually from the Actions tab @@ -67,7 +67,7 @@ jobs: run: | python -m pip install codemagic-cli-tools which xcode-project - xcode-project use-profiles --archive-method=ad-hoc + xcode-project use-profiles --archive-method=app-store cat /Users/runner/export_options.plist - name: Build IPA diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index ced2c63..6ab592d 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -440,6 +440,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "Apple Distribution: André Pedersen (XTFJV443F9)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -576,6 +577,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "Apple Distribution: André Pedersen (XTFJV443F9)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -633,6 +635,7 @@ CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_IDENTITY = "Apple Distribution: André Pedersen (XTFJV443F9)"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";