fastlane 2.131.0.beta.20190904200040 → 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: e379a074856a302143fe53a10f8993cb2011588f
4
- data.tar.gz: aec016827a3ccc0d959930fd325979bac065d850
3
+ metadata.gz: c538a5eca3ab494434381d3e640ae0bdc3af98e5
4
+ data.tar.gz: 2c15e9104642e770e3cccbaf413fb2e04daabeab
5
5
  SHA512:
6
- metadata.gz: 6bdc88b29e4d8c2571c594b13d37e53be6e8e1f58f1046e4fda5f73e669fba187a26fbc9250f864d6be91a17750ff469a822eb23b593147aac166991c0801295
7
- data.tar.gz: 7fb5752094671f027ab3908fe44d7e517dcb48739202e90454cfb4a1b6234fa6a88cf7ba2b1f3fb2d3c3a2d5dff56f36470f496d38a8ea39bdfd0e39d951027b
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.20190904200040'.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.20190904200040
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-04 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
- - screengrab/lib
1750
- - produce/lib
1751
- - cert/lib
1752
- - precheck/lib
1753
- - credentials_manager/lib
1754
- - snapshot/lib
1749
+ - pem/lib
1755
1750
  - supply/lib
1756
- - fastlane_core/lib
1751
+ - spaceship/lib
1752
+ - pilot/lib
1753
+ - precheck/lib
1757
1754
  - gym/lib
1758
- - pem/lib
1755
+ - cert/lib
1756
+ - match/lib
1759
1757
  - deliver/lib
1758
+ - credentials_manager/lib
1760
1759
  - frameit/lib
1760
+ - screengrab/lib
1761
+ - produce/lib
1762
+ - fastlane_core/lib
1761
1763
  - fastlane/lib
1764
+ - snapshot/lib
1762
1765
  - sigh/lib
1763
1766
  - scan/lib
1764
- - spaceship/lib
1765
- - pilot/lib
1766
- - match/lib
1767
1767
  required_ruby_version: !ruby/object:Gem::Requirement
1768
1768
  requirements:
1769
1769
  - - ">="