From d21ee2e7a6f61706a86a1a3e75548f8126b4a77a Mon Sep 17 00:00:00 2001 From: Daniel Arantes Loverde Date: Fri, 31 Jul 2026 10:05:32 -0300 Subject: [PATCH] [macos-runner] Pass DEVELOPMENT_TEAM into xcargs for SPM package targets Main app target signed fine after the manual signing override, but the SPM-generated pedi-foods_PediFoods target still failed with "requires a development team" - it needs DEVELOPMENT_TEAM directly since profile specifiers only map to the app's own bundle ID. Already available as a job env var, just wasn't being passed into xcodebuild's build settings. --- Darwin/fastlane/Fastfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Darwin/fastlane/Fastfile b/Darwin/fastlane/Fastfile index fc38d78..9da47f1 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 CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=\"Apple Distribution\" PROVISIONING_PROFILE_SPECIFIER=\"com.br.pedifoods.app AppStore\"", + xcargs: "-skipPackagePluginValidation -skipMacroValidation CODE_SIGN_STYLE=Manual CODE_SIGN_IDENTITY=\"Apple Distribution\" PROVISIONING_PROFILE_SPECIFIER=\"com.br.pedifoods.app AppStore\" DEVELOPMENT_TEAM=#{ENV['DEVELOPMENT_TEAM']}", derived_data_path: "../.build/Darwin/DerivedData", output_directory: "../.build/fastlane/Darwin", skip_archive: ENV["FASTLANE_SKIP_ARCHIVE"] == "YES",