From 9ddcd41cdd09cdc092c12ef5d882d131450f3541 Mon Sep 17 00:00:00 2001 From: Ivan Smolin Date: Thu, 25 Apr 2019 16:53:53 +0300 Subject: [PATCH] fix ruby syntax error --- xcode/commonFastfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 2df1f50..456fdc4 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -136,14 +136,14 @@ lane :createPushCertificate do |options| certificates_path = File.expand_path "../Certificates" Dir.mkdir(certificates_path) unless File.directory?(certificates_path) - app_identifier = options[:app_identifier] is_a? Array ? options[:app_identifier].first : options[:app_identifier] + app_identifier = options[:app_identifier] get_push_certificate( development: options[:development].nil? ? true : options[:development], 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, + app_identifier: app_identifier.is_a? Array ? app_identifier.first : app_identifier, p12_password: "123", # empty password won't work with Pusher output_path: certificates_path )