Skip to content

Commit

Permalink
updates fast file to use mac installer distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
aristidesstaffieri committed Aug 30, 2023
1 parent 198dbc5 commit 92245d0
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 28 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
25 changes: 13 additions & 12 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
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)
jmespath (~> 1, >= 1.6.1)
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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
15 changes: 7 additions & 8 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 6 additions & 8 deletions fastlane/report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,32 @@



<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000177">
<testcase classname="fastlane.lanes" name="0: default_platform" time="0.000161">

</testcase>


<testcase classname="fastlane.lanes" name="1: app_store_connect_api_key" time="0.001672">
<testcase classname="fastlane.lanes" name="1: app_store_connect_api_key" time="0.001765">

</testcase>


<testcase classname="fastlane.lanes" name="2: update_code_signing_settings" time="0.031467">
<testcase classname="fastlane.lanes" name="2: update_code_signing_settings" time="0.033873">

</testcase>


<testcase classname="fastlane.lanes" name="3: Switch to mac sync_certificates lane" time="0.000127">
<testcase classname="fastlane.lanes" name="3: Switch to mac sync_certificates lane" time="8.9e-05">

</testcase>


<testcase classname="fastlane.lanes" name="4: match" time="7.953007">
<testcase classname="fastlane.lanes" name="4: match" time="8.486593">

</testcase>


<testcase classname="fastlane.lanes" name="5: gym" time="13.843245">

<failure message="/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/actions/actions_helper.rb:67:in `execute_action'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'&#10;Fastfile:42:in `block (2 levels) in parsing_binding'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/lane.rb:33:in `call'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/runner.rb:45:in `execute'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'&#10;/Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'&#10;/Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'&#10;/Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'&#10;/Library/Ruby/Gems/2.6.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'&#10;/Library/Ruby/Gems/2.6.0/gems/fastlane-2.214.0/bin/fastlane:23:in `&lt;top (required)&gt;'&#10;/usr/local/bin/fastlane:23:in `load'&#10;/usr/local/bin/fastlane:23:in `&lt;main&gt;'&#10;&#10;Error packaging up the application" />
<testcase classname="fastlane.lanes" name="5: gym" time="31.736184">

</testcase>

Expand Down

0 comments on commit 92245d0

Please sign in to comment.