From cd096e6235b609cb1d2d8a486d1d9792c881d36f Mon Sep 17 00:00:00 2001 From: Arkadiusz Fal Date: Fri, 13 Feb 2026 21:37:02 +0100 Subject: [PATCH] Set code_sign_identity in update_code_signing_settings Without explicit identity, xcodebuild defaults to "iOS Development" which doesn't exist on CI. Set "Apple Distribution" for App Store builds and "Developer ID Application" for notarized builds. --- fastlane/Fastfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 1dcf2eee..6de95703 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -115,6 +115,7 @@ platform :ios do use_automatic_signing: false, path: XCODEPROJ, team_id: TEAM_ID, + code_sign_identity: "Apple Distribution", profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER}", targets: [SCHEME] ) @@ -123,6 +124,7 @@ platform :ios do use_automatic_signing: false, path: XCODEPROJ, team_id: TEAM_ID, + code_sign_identity: "Apple Distribution", profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER}.ShareExtension", targets: ["YatteeShareExtension"] ) @@ -184,6 +186,7 @@ platform :tvos do use_automatic_signing: false, path: XCODEPROJ, team_id: TEAM_ID, + code_sign_identity: "Apple Distribution", profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER} tvos", targets: [SCHEME] ) @@ -246,6 +249,7 @@ platform :mac do use_automatic_signing: false, path: XCODEPROJ, team_id: TEAM_ID, + code_sign_identity: "Apple Distribution", profile_name: "match AppStore #{DEVELOPER_APP_IDENTIFIER} macos", targets: [SCHEME] ) @@ -304,6 +308,7 @@ platform :mac do use_automatic_signing: false, path: XCODEPROJ, team_id: TEAM_ID, + code_sign_identity: "Developer ID Application", profile_name: "match Direct #{DEVELOPER_APP_IDENTIFIER} macos", targets: [SCHEME] )