From 36903484a8aca1b202c312f69e53a7a663f44812 Mon Sep 17 00:00:00 2001 From: Yuki Araikawa Date: Mon, 28 Sep 2020 16:54:36 +0900 Subject: [PATCH] Fix provisioning and team targets --- fastlane/Fastfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index c69cebb..8545b43 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -47,11 +47,13 @@ platform :ios do update_project_provisioning( xcodeproj: ENV["PROJECT_PATH"], profile: "ios-build.mobileprovision", - code_signing_identity: ENV["CODE_SIGNING_IDENTITY"] + code_signing_identity: ENV["CODE_SIGNING_IDENTITY"], + target_filter: disable_targets&.map{|target| "^#{Regexp.escape(target)}$" }.join("|") ) update_project_team( path: ENV["PROJECT_PATH"], - teamid: ENV["TEAM_ID"] + teamid: ENV["TEAM_ID"], + targets: disable_targets ) if ENV["WORKSPACE_PATH"] != "" build_app(