From 3e82e6e1fece44ee8b5356a78adbc868d1360171 Mon Sep 17 00:00:00 2001 From: Daniel Arantes Loverde Date: Fri, 31 Jul 2026 09:38:29 -0300 Subject: [PATCH] [macos-runner] Force manual code signing in the assemble lane's xcargs xcodebuild ignored sigh's downloaded provisioning profile because the Xcode project's signing style is Automatic, which needs an interactive Apple ID session unavailable in headless CI. Override at build time via xcargs instead of changing the checked-in project signing settings. --- Darwin/fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Darwin/fastlane/Fastfile b/Darwin/fastlane/Fastfile index cfc6f8f..fc38d78 100644 --- a/Darwin/fastlane/Fastfile +++ b/Darwin/fastlane/Fastfile @@ -12,7 +12,7 @@ lane :assemble do |options| sdk: "iphoneos", export_method: ENV["BITRISE_DISTRIBUTION_METHOD"] || "app-store", xcconfig: "fastlane/AppStore.xcconfig", - xcargs: "-skipPackagePluginValidation -skipMacroValidation", + xcargs: "-skipPackagePluginValidation -skipMacroValidation CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=\"Apple Distribution\" PROVISIONING_PROFILE_SPECIFIER=\"com.br.pedifoods.app AppStore\"", derived_data_path: "../.build/Darwin/DerivedData", output_directory: "../.build/fastlane/Darwin", skip_archive: ENV["FASTLANE_SKIP_ARCHIVE"] == "YES",