From b2ca884774687021727fd6b90b68818957bc4c5d Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Thu, 25 Apr 2019 17:11:33 +0300 Subject: [PATCH] pass additional parameters to get_push_certificate --- xcode/commonFastfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 456fdc4..0660eb9 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -143,7 +143,9 @@ lane :createPushCertificate do |options| generate_p12: true, active_days_limit: 30, # create new certificate if old one will expire in 30 days save_private_key: false, - app_identifier: app_identifier.is_a? Array ? app_identifier.first : app_identifier, + app_identifier: (app_identifier.is_a? Array) ? app_identifier.first : app_identifier, + username: options[:username] || options[:apple_id], + team_id: options[:team_id], p12_password: "123", # empty password won't work with Pusher output_path: certificates_path )