fastlane 2.131.0.beta.20190906200026 → 2.131.0.beta.20190911200010

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: 842f44d97e65bd63c000722531b5a1214e76f2a9
4
- data.tar.gz: 86d16b972b454de772e3278fcb091889dcc3b029
3
+ metadata.gz: 8ed9709edc0f7b0afc92821e21655998878d927c
4
+ data.tar.gz: 312434a32a1e12305a34eaedc92a9568c776aea0
5
5
  SHA512:
6
- metadata.gz: c816aba2db60d1da3b9bff16285a4cb332bb20f6c824ce3eb345e309a38192be90a61df2c991e50acad86cc62692b5c0a9dbaae076180843b43058d5e2727209
7
- data.tar.gz: 4ae386c300f04334416468995a49071ef3e3fcca1f988c95dff88d3008d64a2f9b5641fd39ddfd37550ad41e5f7c0e51a69f0c7a3c09246344f521e829d0c72e
6
+ metadata.gz: 311aef094fa136bac84f2a8ed3f2a430aaa449693b37513795b90b03dc13eb37c136415361d042e5af50aa674f40b7ba23dad4020afd2eba148d8c30b41fe6b7
7
+ data.tar.gz: dc4c6dd52f617627c50b68da30c9f3462a6210d298b6d533c218347a223f54f586cee1f05a84241e841280cdda0335732800d8bebe01c4b9d946eed31c0ef947
@@ -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}")
@@ -26,7 +26,7 @@ module Fastlane
26
26
  )',
27
27
  '# You may provide multiple provisioning profiles if the application contains nested
28
28
  # applications or app extensions, which need their own provisioning profile.
29
- # You can do so by passing an array of provisiong profile strings or a hash
29
+ # You can do so by passing an array of provisioning profile strings or a hash
30
30
  # that associates provisioning profile values to bundle identifier keys.
31
31
  resign(
32
32
  ipa: "path/to/ipa", # can omit if using the `ipa` action
@@ -75,7 +75,7 @@ module Fastlane
75
75
  else [value]
76
76
  end
77
77
  files.each do |file|
78
- UI.user_error!("Couldn't find provisiong profile at path '#{file}'") unless File.exist?(file)
78
+ UI.user_error!("Couldn't find provisioning profile at path '#{file}'") unless File.exist?(file)
79
79
  end
80
80
  end),
81
81
  FastlaneCore::ConfigItem.new(key: :version,
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.131.0.beta.20190906200026'.freeze
2
+ VERSION = '2.131.0.beta.20190911200010'.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.20190906200026
4
+ version: 2.131.0.beta.20190911200010
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-06 00:00:00.000000000 Z
30
+ date: 2019-09-11 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
+ - snapshot/lib
1750
+ - sigh/lib
1751
+ - credentials_manager/lib
1752
+ - fastlane/lib
1753
+ - produce/lib
1754
+ - gym/lib
1749
1755
  - match/lib
1750
- - fastlane_core/lib
1751
- - cert/lib
1752
1756
  - pilot/lib
1753
- - produce/lib
1754
1757
  - supply/lib
1755
- - gym/lib
1756
- - fastlane/lib
1757
- - precheck/lib
1758
- - credentials_manager/lib
1759
- - snapshot/lib
1760
- - deliver/lib
1761
- - spaceship/lib
1758
+ - pem/lib
1759
+ - cert/lib
1762
1760
  - screengrab/lib
1763
- - scan/lib
1764
- - sigh/lib
1761
+ - fastlane_core/lib
1765
1762
  - frameit/lib
1766
- - pem/lib
1763
+ - spaceship/lib
1764
+ - deliver/lib
1765
+ - scan/lib
1766
+ - precheck/lib
1767
1767
  required_ruby_version: !ruby/object:Gem::Requirement
1768
1768
  requirements:
1769
1769
  - - ">="