From 92245d094c25e806ed8b8d1affbfb1a4ff943df0 Mon Sep 17 00:00:00 2001 From: Aristides Staffieri Date: Wed, 30 Aug 2023 13:17:41 -0600 Subject: [PATCH] updates fast file to use mac installer distribution --- .gitignore | 5 +++++ Gemfile.lock | 25 +++++++++++++------------ fastlane/Fastfile | 15 +++++++-------- fastlane/report.xml | 14 ++++++-------- 4 files changed, 31 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index 751220354..f5f85e30f 100755 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,8 @@ node_modules npm-debug.log* yarn-debug.log* yarn-error.log* + +# fastlane output +Freighter.app/Contents +Freighter.pkg +Freighter.app.dSYM.zip diff --git a/Gemfile.lock b/Gemfile.lock index b1972d50e..b3ea37d9d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,14 +1,15 @@ GEM remote: https://rubygems.org/ specs: - CFPropertyList (2.3.6) - addressable (2.8.4) + CFPropertyList (3.0.6) + rexml + addressable (2.8.5) public_suffix (>= 2.0.2, < 6.0) artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.2.0) - aws-partitions (1.797.0) - aws-sdk-core (3.180.1) + aws-partitions (1.813.0) + aws-sdk-core (3.181.0) aws-eventstream (~> 1, >= 1.0.2) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.5) @@ -16,8 +17,8 @@ GEM aws-sdk-kms (1.71.0) aws-sdk-core (~> 3, >= 3.177.0) aws-sigv4 (~> 1.1) - aws-sdk-s3 (1.132.0) - aws-sdk-core (~> 3, >= 3.179.0) + aws-sdk-s3 (1.134.0) + aws-sdk-core (~> 3, >= 3.181.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.6) aws-sigv4 (1.6.0) @@ -35,7 +36,7 @@ GEM unf (>= 0.0.5, < 1.0.0) dotenv (2.8.1) emoji_regex (3.2.3) - excon (0.100.0) + excon (0.102.0) faraday (1.10.3) faraday-em_http (~> 1.0) faraday-em_synchrony (~> 1.0) @@ -105,7 +106,7 @@ GEM xcpretty (~> 0.3.0) xcpretty-travis-formatter (>= 0.0.3) gh_inspector (1.1.3) - google-apis-androidpublisher_v3 (0.46.0) + google-apis-androidpublisher_v3 (0.49.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-core (0.11.1) addressable (~> 2.5, >= 2.5.1) @@ -148,11 +149,11 @@ GEM domain_name (~> 0.5) httpclient (2.8.3) jmespath (1.6.2) - json (2.1.0) + json (2.6.3) jwt (2.7.1) memoist (0.16.2) mini_magick (4.12.0) - mini_mime (1.1.2) + mini_mime (1.1.5) multi_json (1.15.0) multipart-post (2.3.0) nanaimo (0.3.0) @@ -161,7 +162,7 @@ GEM os (1.1.4) plist (3.7.0) public_suffix (5.0.3) - rake (12.3.3) + rake (13.0.6) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) @@ -193,7 +194,7 @@ GEM unf_ext unf_ext (0.0.8.2) unicode-display_width (1.8.0) - webrick (1.4.4) + webrick (1.8.1) word_wrap (1.0.0) xcodeproj (1.22.0) CFPropertyList (>= 2.3.3, < 4.0) diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 904a63113..d40bff0d8 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -28,25 +28,24 @@ platform :mac do desc "Sync certificates" lane :sync_certificates do #read-only disables match from overriding the existing certificates. - match({readonly: false, type: "appstore"}) + match({readonly: false, type: "appstore", additional_cert_types: "mac_installer_distribution"}) end desc "Create ipa" lane :build do update_code_signing_settings( - use_automatic_signing: false, + use_automatic_signing: true, + code_sign_identity: "Apple Development", path: ENV.fetch("XCODE_PROJ_PATH") ) sync_certificates gym( scheme: "Freighter", export_method: "app-store", - installer_cert_name: ENV.fetch("INSTALLER_CERT_NAME"), - export_options: { - provisioningProfiles: { - "org.stellar.freighter" => "match AppStore org.stellar.freighter macos" - } - }, export_team_id: CredentialsManager::AppfileConfig.try_fetch_value(:team_id) ) end + desc "Upload to App Store" + lane :upload do + deliver + end end diff --git a/fastlane/report.xml b/fastlane/report.xml index df750f6ac..11b1ba1e6 100644 --- a/fastlane/report.xml +++ b/fastlane/report.xml @@ -5,34 +5,32 @@ - + - + - + - + - + - - - +