fastlane 2.46.1 → 2.47.0.beta.20170711010003

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bd3f91489634bc65857980c314f69f00c81c142d
4
- data.tar.gz: 4548e98130b2be63e0f715332d3357034c362efa
3
+ metadata.gz: fc0b54e826c439995c79b512d987fd17a8e9aa43
4
+ data.tar.gz: c6f6012c14c59d8bab1ce828908f3e5263a47c01
5
5
  SHA512:
6
- metadata.gz: 881fc772f89580cf2f651006871c25ed156cd095218feddf61bf329d6914fa4033aa24ac4e63df8e8595849314bf657155a6cd24200a67e2b80c4b8dcdff4fae
7
- data.tar.gz: 1d6b2a36fab028db68e0e8443c159249a7df05c398934ea3e413f93d1fdd6588650af7a4ae9b62cd7f58d19e3a1738690e895f440a13d3099b3e98c6b76be419
6
+ metadata.gz: b1787060780ead9ea449a0132fafef864e0051aaba1cd678585079a2dce4decf6b152722e58a439fdd5a7255c6de3e2c1e7f1bda1cd628f0aec509dc4c323eac
7
+ data.tar.gz: 7464cb1b43a2fe13d154d001d1264a0abbb375a71f43b067ad26b6d578c0cfcd6d35a4fc1b792d442668bddf893adc66ee9e3a76d9a068826033e9b5b7032bf2
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.46.1'.freeze
2
+ VERSION = '2.47.0.beta.20170711010003'.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
  end
@@ -35,13 +35,13 @@ module FastlaneCore
35
35
  end
36
36
 
37
37
  def report_status(build: nil)
38
- # Due to iTunes Connect, builds disappear from the build list altogether
38
+ # Due to iTunes Connect, builds disappear from the build list alltogether
39
39
  # after they finished processing. Before returning this build, we have to
40
40
  # wait for the build to appear in the build list again
41
41
  # As this method is very often used to wait for a build, and then do something
42
42
  # with it, we have to be sure that the build actually is ready
43
43
  if build.nil?
44
- UI.message("Build doesn't show up in the build list anymore, waiting for it to appear again")
44
+ UI.message("Build doesn't show up in the build list any more, waiting for it to appear again")
45
45
  elsif build.active?
46
46
  UI.success("Build #{build.train_version} - #{build.build_version} is already being tested")
47
47
  elsif build.ready_to_submit? || build.export_compliance_missing?
@@ -51,10 +51,9 @@ module Gym
51
51
  print "For more information visit this stackoverflow answer:"
52
52
  print "https://stackoverflow.com/a/17031697/445598"
53
53
  end
54
+ print_full_log_path
54
55
  print_xcode_path_instructions
55
56
  print_xcode_version
56
- print_full_log_path
57
- print_build_error_instructions
58
57
  UI.build_failure!("Error building the application - see the log above", error_info: output)
59
58
  end
60
59
 
@@ -90,7 +89,6 @@ module Gym
90
89
  print "provisioning profile and code signing identity."
91
90
  end
92
91
  print_full_log_path
93
- print_build_error_instructions
94
92
  UI.build_failure!("Error packaging up the application", error_info: output)
95
93
  end
96
94
 
@@ -104,8 +102,18 @@ module Gym
104
102
  UI.build_failure!("Archive invalid")
105
103
  end
106
104
 
105
+ def find_standard_output_path(output)
106
+ m = /Created bundle at path '(.*)'/.match(output)
107
+ return File.join(m[1], 'IDEDistribution.standard.log') unless m.nil?
108
+ end
109
+
107
110
  private
108
111
 
112
+ def read_standard_output(output)
113
+ path = find_standard_output_path output
114
+ return File.read(path) if File.exist?(path)
115
+ end
116
+
109
117
  # Just to make things easier
110
118
  def print(text)
111
119
  UI.error text
@@ -113,21 +121,8 @@ module Gym
113
121
 
114
122
  def print_full_log_path
115
123
  return if Gym.config[:disable_xcpretty]
116
-
117
124
  log_path = Gym::BuildCommandGenerator.xcodebuild_log_path
118
- return unless File.exist?(log_path)
119
-
120
- # `xcodebuild` doesn't properly mark lines as failure reason or important information
121
- # so we assume that the last few lines show the error message that's relevant
122
- # (at least that's what was correct during testing)
123
- log_content = File.read(log_path).split("\n")[-5..-1]
124
- log_content.each do |row|
125
- UI.command_output(row)
126
- end
127
-
128
- UI.message("")
129
- UI.error("⬆️ Check out the few lines of raw `xcodebuild` output above for potential hints on how to solve this error")
130
- UI.important("📋 For the complete and more detailed error log, check the full log at:")
125
+ UI.important("📋 For a more detailed error log, check the full log at:")
131
126
  UI.important("📋 #{log_path}")
132
127
  end
133
128
 
@@ -153,41 +148,25 @@ module Gym
153
148
  default_xcode_path = "/Applications/"
154
149
 
155
150
  xcode_installations_in_default_path = Dir[File.join(default_xcode_path, "Xcode*.app")]
156
- return unless xcode_installations_in_default_path.count > 1
157
- UI.message ""
158
- UI.important "Maybe the error shown is caused by using the wrong version of Xcode"
159
- UI.important "Found multiple versions of Xcode in '#{default_xcode_path}'"
160
- UI.important "Make sure you selected the right version for your project"
161
- UI.important "This build process was executed using '#{xcode_path}'"
162
- UI.important "If you want to update your Xcode path, either"
163
- UI.message ""
164
-
165
- UI.message "- Specify the Xcode version in your Fastfile"
166
- UI.command_output "xcversion(version: \"8.1\") # Selects Xcode 8.1.0"
167
- UI.message ""
168
-
169
- UI.message "- Specify an absolute path to your Xcode installation in your Fastfile"
170
- UI.command_output "xcode_select \"/Applications/Xcode8.app\""
171
- UI.message ""
172
-
173
- UI.message "- Manually update the path using"
174
- UI.command_output "sudo xcode-select -s /Applications/Xcode.app"
175
- UI.message ""
176
- end
177
-
178
- # Indicate that code signing errors are not caused by fastlane
179
- # and that fastlane only runs `xcodebuild` commands
180
- def print_build_error_instructions
181
- UI.message("")
182
- UI.error("Looks like fastlane ran into a build/archive error with your project")
183
- UI.error("It's hard to tell what's causing the error, so we wrote some guides on how")
184
- UI.error("to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/")
185
- UI.error("Before submitting an issue on GitHub, please follow the guide above and make")
186
- UI.error("sure your project is set up correctly.")
187
- UI.error("fastlane uses `xcodebuild` commands to generate your binary, you can see the")
188
- UI.error("the full commands printed out in yellow in the above log.")
189
- UI.error("Make sure to inspect the output above, as usually you'll find more error information there")
190
- UI.message("")
151
+ if xcode_installations_in_default_path.count > 1
152
+ UI.error "Found multiple versions of Xcode in '#{default_xcode_path}'"
153
+ UI.error "Make sure you selected the right version for your project"
154
+ UI.error "This build process was executed using '#{xcode_path}'"
155
+ UI.important "If you want to update your Xcode path, either"
156
+ UI.message ""
157
+
158
+ UI.message "- Specify the Xcode version in your Fastfile"
159
+ UI.command_output "xcversion(version: \"8.1\") # Selects Xcode 8.1.0"
160
+ UI.message ""
161
+
162
+ UI.message "- Specify an absolute path to your Xcode installation in your Fastfile"
163
+ UI.command_output "xcode_select \"/Applications/Xcode8.app\""
164
+ UI.message ""
165
+
166
+ UI.message "- Manually update the path using"
167
+ UI.command_output "sudo xcode-select -s /Applications/Xcode.app"
168
+ UI.message ""
169
+ end
191
170
  end
192
171
  end
193
172
  end
data/pem/README.md CHANGED
@@ -38,7 +38,7 @@ pem
38
38
 
39
39
  Tired of manually creating and maintaining your push notification profiles for your iOS apps? Tired of generating a `pem` file for your server?
40
40
 
41
- `pem` does all that for you, just by simply running `pem`.
41
+ `pem` does all that for, just by simply running `pem`.
42
42
 
43
43
  `pem` creates new .pem, .cer, and .p12 files to be uploaded to your push server if a valid push notification profile is needed. `pem` does not cover uploading the file to your server.
44
44
 
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.46.1
4
+ version: 2.47.0.beta.20170711010003
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2017-07-12 00:00:00.000000000 Z
18
+ date: 2017-07-11 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: slack-notifier
@@ -1397,24 +1397,24 @@ metadata:
1397
1397
  post_install_message:
1398
1398
  rdoc_options: []
1399
1399
  require_paths:
1400
- - cert/lib
1401
- - credentials_manager/lib
1402
- - deliver/lib
1400
+ - spaceship/lib
1401
+ - scan/lib
1402
+ - sigh/lib
1403
+ - snapshot/lib
1404
+ - screengrab/lib
1403
1405
  - fastlane/lib
1404
- - fastlane_core/lib
1405
- - frameit/lib
1406
+ - cert/lib
1407
+ - pem/lib
1406
1408
  - gym/lib
1409
+ - produce/lib
1410
+ - deliver/lib
1411
+ - supply/lib
1407
1412
  - match/lib
1408
- - pem/lib
1413
+ - frameit/lib
1414
+ - credentials_manager/lib
1409
1415
  - pilot/lib
1410
1416
  - precheck/lib
1411
- - produce/lib
1412
- - scan/lib
1413
- - screengrab/lib
1414
- - sigh/lib
1415
- - snapshot/lib
1416
- - spaceship/lib
1417
- - supply/lib
1417
+ - fastlane_core/lib
1418
1418
  required_ruby_version: !ruby/object:Gem::Requirement
1419
1419
  requirements:
1420
1420
  - - ">="
@@ -1422,15 +1422,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1422
1422
  version: 2.0.0
1423
1423
  required_rubygems_version: !ruby/object:Gem::Requirement
1424
1424
  requirements:
1425
- - - ">="
1425
+ - - ">"
1426
1426
  - !ruby/object:Gem::Version
1427
- version: '0'
1427
+ version: 1.3.1
1428
1428
  requirements: []
1429
1429
  rubyforge_project:
1430
- rubygems_version: 2.6.8
1430
+ rubygems_version: 2.4.5.1
1431
1431
  signing_key:
1432
1432
  specification_version: 4
1433
1433
  summary: The easiest way to automate beta deployments and releases for your iOS and
1434
1434
  Android apps
1435
1435
  test_files: []
1436
- has_rdoc: