fastlane 2.131.0.beta.20190905200113 → 2.131.0.beta.20190910200104

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: e4a797ecefd79c587bf20f6b21129705420af149
4
- data.tar.gz: 30e8c8f2b9b1265eb31c27a16f1add6140c699d2
3
+ metadata.gz: 9c40861b81241f7c4e54d15ae7751ed6b3d85533
4
+ data.tar.gz: 4138d25a067e8b40ff97f8d011098dfbd0e1ba6b
5
5
  SHA512:
6
- metadata.gz: a739ac48ddb8773eb8f8229af6307c26ca64e2ba643c03d32500419e448d95d558f726f0d17ed6d823ceb845c01eb462dde5bf4f9761ea8f1c5ce7eec48f540f
7
- data.tar.gz: 5a2ed07d7c7ee3900d4f794bf5cb6d4d7bb1ecba1c414a0b219831b6c0b46f9c6af0cd9d8c31c2075914f7cc071dd6d6f93ae7bbb59ab3025f07796b684a6305
6
+ metadata.gz: 342fdfeef0fd4a5f8ce23854d996a76c67879ed4edb2ae23430e5b67d8bab0121a862a7df131750e0711291f9a8c3bfd259ce79f8407bcba8055125ef571c5a5
7
+ data.tar.gz: 7649aec1aab892a0235d6fa8e668ad5ed54f34cbf43beb23992d1d2a074bd4afaf0f387d846673939e088a86350b807e42814a95c3bb95aaf21a7cbbb3c73a08
@@ -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.20190905200113'.freeze
2
+ VERSION = '2.131.0.beta.20190910200104'.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.20190905200113
4
+ version: 2.131.0.beta.20190910200104
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-05 00:00:00.000000000 Z
30
+ date: 2019-09-10 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
- - scan/lib
1750
- - cert/lib
1749
+ - fastlane_core/lib
1750
+ - snapshot/lib
1751
1751
  - match/lib
1752
- - deliver/lib
1753
- - sigh/lib
1754
- - gym/lib
1752
+ - supply/lib
1755
1753
  - produce/lib
1756
- - fastlane_core/lib
1757
- - pilot/lib
1758
- - spaceship/lib
1759
- - precheck/lib
1754
+ - credentials_manager/lib
1755
+ - cert/lib
1756
+ - sigh/lib
1760
1757
  - fastlane/lib
1761
1758
  - pem/lib
1762
- - supply/lib
1763
- - credentials_manager/lib
1764
- - screengrab/lib
1765
- - snapshot/lib
1766
1759
  - frameit/lib
1760
+ - deliver/lib
1761
+ - gym/lib
1762
+ - screengrab/lib
1763
+ - spaceship/lib
1764
+ - pilot/lib
1765
+ - precheck/lib
1766
+ - scan/lib
1767
1767
  required_ruby_version: !ruby/object:Gem::Requirement
1768
1768
  requirements:
1769
1769
  - - ">="