diff --git a/Darwin/fastlane/Fastfile b/Darwin/fastlane/Fastfile index 656ae00..17b1135 100644 --- a/Darwin/fastlane/Fastfile +++ b/Darwin/fastlane/Fastfile @@ -8,21 +8,15 @@ lane :assemble do |options| # only build the iOS side of the app ENV["SKIP_ZERO"] = "true" - # Scope manual signing to just the app target - the SPM package's own - # generated targets (PediFoods, pedi-foods_PediFoods) explicitly don't - # support provisioning profiles and must stay on Automatic, so a blanket - # xcargs override breaks them. - if ENV["DEVELOPMENT_TEAM"] - update_code_signing_settings( - use_automatic_signing: false, - path: "PediFoods.xcodeproj", - code_sign_identity: "Apple Distribution", - profile_name: "com.br.pedifoods.app AppStore", - team_id: ENV["DEVELOPMENT_TEAM"], - targets: ["PediFoods App"] - ) - end - + # Manual signing (team/identity/profile) for the "PediFoods App" target is + # baked directly into PediFoods.xcodeproj's own project settings - not + # overridden here. A command-line xcargs/update_code_signing_settings + # override applies to the entire build graph, including the SPM package's + # own ephemeral targets (PediFoods, pedi-foods_PediFoods) which explicitly + # reject provisioning profiles and must stay Automatic; there's no way to + # scope a global override to just one target, and update_code_signing_settings + # itself can't parse this project's newer .pbxproj format anyway (gem + # limitation, not fixable by updating the gem). build_app( scheme: "PediFoods App", sdk: "iphoneos",