From 05924b4b2f6bac8b2101353d2da48fa6aad116f0 Mon Sep 17 00:00:00 2001 From: Balazs Perlaki-Horvath Date: Tue, 30 Jan 2024 22:18:34 +0100 Subject: [PATCH] Force code sign identity --- fastlane/Fastfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 51f3bee33..7b120234e 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -62,7 +62,9 @@ platform :ios do update_code_signing_settings( use_automatic_signing: false, path: "Kiwix.xcodeproj", - profile_name: "match AppStore self.Kiwix" + profile_name: "match AppStore self.Kiwix", + code_sign_identity: "Apple Distribution", + build_configurations: "Release" ) gym( destination: "generic/platform=iOS", @@ -117,7 +119,7 @@ private_lane :ci_settings do end private_lane :match_certificates do - ["development", "appstore"].each do |type| + ["appstore"].each do |type| if is_ci match(type: type, readonly: true, git_url: "./certificates") else