fastlane/lib/fastlane/actions/download_dsyms.rb
Writes binary content with Ruby File.binwriteRuby HTTP client capability
SHA-25636ec7d740080823d3bbfb98959ae1a8d5c84ff0b8bcd8da8ec99e2a05969a532
MaleculeH₂(CmF)
Evidence
19:17… pp
20 UI.user_error!("Could not find app with bundle identifier '#{params[:app_identifier]}' on account #{params[:username]}")
21 end
22
23 …
31:8… if version == 'latest'
32 # Try to grab the edit version first, else fallback to live version
33 UI.message("Looking for latest version...")
34 latest_version = app.edit_version(platform: platform) || app.live …
43:73… ch the one in latest_version so get the version and build number from the same place.
44 version = latest_candidate_build.train_version
45 …
108:16… ror("No dSYM files found on App Store Connect - this usually happens when no recompiling has happened yet")
109 end
110 end
111 # rubocop:en …
125:8… file_name = output_directory + file_name
126 end
127 File.binwrite(file_name, data)
128 file_name
129 end
130
131 def self.download_file(url)
132 uri = URI.parse(url)
133 http = Net::HTTP.new(uri.host, uri.port)
134 http.use_ssl = (uri.scheme == "https")
135 res = http.get(uri.request_uri)
136 res.body
137 end
138
139 #####################################################
140 # @!group D …