From fdcfb184d702de76dd3d99fc8e53d3eb94acf6b7 Mon Sep 17 00:00:00 2001 From: Doan Dinh Date: Thu, 10 Aug 2023 14:06:19 +0700 Subject: [PATCH] [#169] Test to use APPSTORE_CONNECT_API_KEY --- .../ios/fastlane/Constants/Environments.rb | 2 +- .../{{project_name.snakeCase()}}/ios/fastlane/Fastfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Environments.rb b/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Environments.rb index 59b03c7f..07af0456 100644 --- a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Environments.rb +++ b/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Constants/Environments.rb @@ -16,7 +16,7 @@ def self.TEAM_ID end def self.APPSTORE_CONNECT_API_KEY - ENV['APPSTORE_CONNECT_API_KEY'] + "$ENV['APPSTORE_CONNECT_API_KEY']" end ################# diff --git a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Fastfile b/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Fastfile index 3871073a..f0326586 100644 --- a/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Fastfile +++ b/bricks/template/__brick__/{{project_name.snakeCase()}}/ios/fastlane/Fastfile @@ -158,7 +158,7 @@ platform :ios do key_id: Constants.APP_STORE_KEY_ID, issuer_id: Constants.APP_STORE_ISSUER_ID, key_content: Environments.APPSTORE_CONNECT_API_KEY, - is_key_content_base64: true + is_key_content_base64: false ) end