[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.
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user