fastlane 2.131.0.beta.20190908200041 → 2.131.0.beta.20190909200058

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1603ff7fc1ea4866e9fe0bdb96aa715b4e887568
4
- data.tar.gz: dcaf438b2b46a29cc99f9764ddd71bb837bd39f1
3
+ metadata.gz: c538a5eca3ab494434381d3e640ae0bdc3af98e5
4
+ data.tar.gz: 2c15e9104642e770e3cccbaf413fb2e04daabeab
5
5
  SHA512:
6
- metadata.gz: 42393064feac91cfc2aeae462661bb5323038c8ac06757119037426326f603a95f36f8678e5d23ac9c7734e0dd8cd58b0e3c65bfffef170f892751fc81db5ce8
7
- data.tar.gz: 54763a22fc7c4ec6a9b08894181f63b27d20f1b40682fac09b9f9f96fb702437f478655c62f0cbbf03de7522ff244d64684339feb2593e779ad66fd673d42bcb
6
+ metadata.gz: 0ab592300584df8bab32fbfe9b10edd27aaac0e26c2e579f4a258252f482a09c9c4447573e9c0ed9b12be0c54f6dbb2087e39f35943d0ffa197737c65fffefa0
7
+ data.tar.gz: 4e845d242e7250b53825181f6b3fa6205f26277993f5ef5d526622b7520f992322b0942cbc1055f8f70feec8772b2bb48a55513937253c87e052a18a40fa39c4
@@ -49,7 +49,7 @@ module Fastlane
49
49
  UI.message("Fetching the latest build number for #{version_number_message}")
50
50
 
51
51
  # Get latest build for optional version number and return build number if found
52
- build = Spaceship::ConnectAPI.get_builds(filter: filter, sort: "-version", includes: "preReleaseVersion", limit: 1).first
52
+ build = Spaceship::ConnectAPI.get_builds(filter: filter, sort: "-uploadedDate", includes: "preReleaseVersion", limit: 1).first
53
53
  if build
54
54
  build_nr = build.version
55
55
  UI.message("Latest upload for version #{build.app_version} is build: #{build_nr}")
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.131.0.beta.20190908200041'.freeze
2
+ VERSION = '2.131.0.beta.20190909200058'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
@@ -146,15 +146,43 @@ module Gym
146
146
  containing_directory = File.expand_path("..", PackageCommandGenerator.dsym_path)
147
147
  bcsymbolmaps_directory = File.expand_path("../../BCSymbolMaps", PackageCommandGenerator.dsym_path)
148
148
  available_dsyms = Dir.glob("#{containing_directory}/*.dSYM")
149
+ uuid_regex = /[0-9a-fA-F]{8}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{4}\-[0-9a-fA-F]{12}/
149
150
 
150
151
  if Dir.exist?(bcsymbolmaps_directory)
151
152
  UI.message("Mapping dSYM(s) using generated BCSymbolMaps") unless Gym.config[:silent]
152
153
  available_dsyms.each do |dsym|
153
- command = []
154
- command << "dsymutil"
155
- command << "--symbol-map #{bcsymbolmaps_directory.shellescape}"
156
- command << dsym.shellescape
157
- Helper.backticks(command.join(" "), print: !Gym.config[:silent])
154
+ dwarfdump_command = []
155
+ dwarfdump_command << "dwarfdump"
156
+ dwarfdump_command << "--uuid #{dsym.shellescape}"
157
+
158
+ dwarfdump_result = Helper.backticks(dwarfdump_command.join(" "), print: false)
159
+ architecture_infos = dwarfdump_result.split("\n")
160
+ architecture_uuids = architecture_infos.map do |info|
161
+ info_array = info.split(" ")
162
+ uuid = info_array[1]
163
+
164
+ if uuid.nil? || !uuid.match(uuid_regex)
165
+ nil
166
+ else
167
+ uuid
168
+ end
169
+ end
170
+
171
+ architecture_uuids = architecture_uuids.reject(&:nil?)
172
+
173
+ symbol_map_paths = architecture_uuids.map do |uuid|
174
+ "#{bcsymbolmaps_directory.shellescape}/#{uuid}.bcsymbolmap"
175
+ end
176
+
177
+ symbol_map_paths << bcsymbolmaps_directory.shellescape if symbol_map_paths.empty?
178
+
179
+ symbol_map_paths.each do |path|
180
+ command = []
181
+ command << "dsymutil"
182
+ command << "--symbol-map #{path}"
183
+ command << dsym.shellescape
184
+ Helper.backticks(command.join(" "), print: !Gym.config[:silent])
185
+ end
158
186
  end
159
187
  end
160
188
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.131.0.beta.20190908200041
4
+ version: 2.131.0.beta.20190909200058
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-09-08 00:00:00.000000000 Z
30
+ date: 2019-09-09 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1746,24 +1746,24 @@ metadata:
1746
1746
  post_install_message:
1747
1747
  rdoc_options: []
1748
1748
  require_paths:
1749
- - frameit/lib
1750
- - precheck/lib
1749
+ - pem/lib
1750
+ - supply/lib
1751
+ - spaceship/lib
1751
1752
  - pilot/lib
1752
- - sigh/lib
1753
- - produce/lib
1754
- - scan/lib
1755
- - fastlane_core/lib
1753
+ - precheck/lib
1756
1754
  - gym/lib
1757
- - pem/lib
1755
+ - cert/lib
1758
1756
  - match/lib
1759
- - spaceship/lib
1760
1757
  - deliver/lib
1761
- - cert/lib
1762
- - snapshot/lib
1763
- - screengrab/lib
1764
1758
  - credentials_manager/lib
1759
+ - frameit/lib
1760
+ - screengrab/lib
1761
+ - produce/lib
1762
+ - fastlane_core/lib
1765
1763
  - fastlane/lib
1766
- - supply/lib
1764
+ - snapshot/lib
1765
+ - sigh/lib
1766
+ - scan/lib
1767
1767
  required_ruby_version: !ruby/object:Gem::Requirement
1768
1768
  requirements:
1769
1769
  - - ">="