fastlane 2.40.0 → 2.41.0.beta.20170623010027

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: 4df481d021e63a7af1a713c236cd214b09bcadc6
4
- data.tar.gz: 58dd9c9d6f10b8b927c6792b34784fd8ce63d427
3
+ metadata.gz: 8755c70e7565602a037bbbfc18c9c4390604c0b2
4
+ data.tar.gz: 4a6a43b5b77cd699f3acc6b05700165b607b1544
5
5
  SHA512:
6
- metadata.gz: 7aeb736feb916475c74ff074974c107ceea80bb4c02704799f8058a564a934797f6eb171e0ce89ccb24910bb26389761fb595dd17765d7041d199eec6e9271cc
7
- data.tar.gz: 678f24e0cfbe793298213425fca3a2384d786c196c78e8f2c5d5afa6eb82f33ad0fb23e56214c2fda1e04477232a9f79b1366c4766da1500413db7526bb8a13a
6
+ metadata.gz: 6e9e78295a60651a5a24eae26a6b979b90a10816ba945eb29139c1d3c66a7e44b2e33f357f6aef9c3bc9df934881db4ba2c879875addabb9c7fa50a17fc5692a
7
+ data.tar.gz: 12f6c729616195aa1c5ef9adca64b4581d973e833aab210ae3417f51a945d500ab4aadd2c846ec15c716dc775dd4ecf804f57f811416fa91c3e1dcb2d6e5d6c1
data/README.md CHANGED
@@ -138,6 +138,7 @@ In addition to `fastlane`'s commands, you also have access to these `fastlane` t
138
138
  - [`gym`](https://github.com/fastlane/fastlane/tree/master/gym): Building your iOS apps has never been easier
139
139
  - [`match`](https://github.com/fastlane/fastlane/tree/master/match): Easily sync your certificates and profiles across your team using Git
140
140
  - [`scan`](https://github.com/fastlane/fastlane/tree/master/scan): The easiest way to run tests for your iOS and Mac apps
141
+ - [`precheck`](https://github.com/fastlane/fastlane/tree/master/precheck): Check your app using a community driven set of App Store review rules to avoid being rejected
141
142
 
142
143
  ## Metrics
143
144
 
@@ -29,8 +29,25 @@ module Fastlane
29
29
  if values[:export_options].kind_of?(Hash)
30
30
  values[:export_options][:provisioningProfiles] = Actions.lane_context[SharedValues::MATCH_PROVISIONING_PROFILE_MAPPING]
31
31
  end
32
+ elsif Actions.lane_context[SharedValues::SIGH_PROFILE_PATHS]
33
+ # Since Xcode 9 you need to explicitly provide the provisioning profile per app target
34
+ # If the user used sigh we can match the profiles from sigh
35
+ values[:export_options] ||= {}
36
+ values[:export_options][:provisioningProfiles] ||= {}
37
+ Actions.lane_context[SharedValues::SIGH_PROFILE_PATHS].each do |profile_path|
38
+ begin
39
+ profile = FastlaneCore::ProvisioningProfile.parse(profile_path)
40
+ profile_team_id = profile["TeamIdentifier"].first
41
+ next if profile_team_id != values[:export_team_id] && !values[:export_team_id].nil?
42
+ bundle_id = profile["Entitlements"]["application-identifier"].gsub "#{profile_team_id}.", ""
43
+ values[:export_options][:provisioningProfiles][bundle_id] = profile["Name"]
44
+ rescue => ex
45
+ UI.error("Couldn't load profile at path: #{profile_path}")
46
+ UI.error(ex)
47
+ UI.verbose(ex.backtrace.join("\n"))
48
+ end
49
+ end
32
50
  end
33
-
34
51
  absolute_ipa_path = File.expand_path(Gym::Manager.new.work(values))
35
52
  absolute_dsym_path = absolute_ipa_path.gsub(".ipa", ".app.dSYM.zip")
36
53
 
@@ -2,6 +2,10 @@ module Fastlane
2
2
  module Actions
3
3
  class ResetSimulatorContentsAction < Action
4
4
  def self.run(params)
5
+ if Helper.xcode_at_least?("9")
6
+ UI.user_error!("resetting simulators currently doesn't work with Xcode 9, stay tuned as we are working to add support for all new tools.")
7
+ end
8
+
5
9
  if params[:ios]
6
10
  params[:ios].each do |os_version|
7
11
  FastlaneCore::Simulator.reset_all_by_version(os_version: os_version)
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.40.0'.freeze
2
+ VERSION = '2.41.0.beta.20170623010027'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -20,7 +20,7 @@ module Pilot
20
20
 
21
21
  def handle_multiple(action, args, options)
22
22
  mgr = Pilot::TesterManager.new
23
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
23
+ config = create_config(options)
24
24
  args.push(config[:email]) if config[:email] && args.empty?
25
25
  args.push(UI.input("Email address of the tester: ")) if args.empty?
26
26
  failures = []
@@ -56,7 +56,7 @@ module Pilot
56
56
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
57
57
 
58
58
  c.action do |args, options|
59
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
59
+ config = create_config(options)
60
60
  Pilot::BuildManager.new.upload(config)
61
61
  end
62
62
  end
@@ -68,7 +68,7 @@ module Pilot
68
68
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
69
69
 
70
70
  c.action do |args, options|
71
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
71
+ config = create_config(options)
72
72
  Pilot::BuildManager.new.distribute(config)
73
73
  end
74
74
  end
@@ -80,7 +80,7 @@ module Pilot
80
80
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
81
81
 
82
82
  c.action do |args, options|
83
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
83
+ config = create_config(options)
84
84
  Pilot::BuildManager.new.list(config)
85
85
  end
86
86
  end
@@ -103,7 +103,7 @@ module Pilot
103
103
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
104
104
 
105
105
  c.action do |args, options|
106
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
106
+ config = create_config(options)
107
107
  Pilot::TesterManager.new.list_testers(config)
108
108
  end
109
109
  end
@@ -137,7 +137,7 @@ module Pilot
137
137
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
138
138
 
139
139
  c.action do |args, options|
140
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
140
+ config = create_config(options)
141
141
  Pilot::TesterExporter.new.export_testers(config)
142
142
  end
143
143
  end
@@ -149,7 +149,7 @@ module Pilot
149
149
  FastlaneCore::CommanderGenerator.new.generate(Pilot::Options.available_options, command: c)
150
150
 
151
151
  c.action do |args, options|
152
- config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
152
+ config = create_config(options)
153
153
  Pilot::TesterImporter.new.import_testers(config)
154
154
  end
155
155
  end
@@ -158,5 +158,11 @@ module Pilot
158
158
 
159
159
  run!
160
160
  end
161
+
162
+ def create_config(options)
163
+ config = FastlaneCore::Configuration.create(Pilot::Options.available_options, convert_options(options))
164
+ config[:ipa] = File.expand_path(config[:ipa]) if config[:ipa]
165
+ return config
166
+ end
161
167
  end
162
168
  end
@@ -34,6 +34,7 @@ module Pilot
34
34
  description: "Path to the ipa file to upload",
35
35
  default_value: Dir["*.ipa"].sort_by { |x| File.mtime(x) }.last,
36
36
  verify_block: proc do |value|
37
+ value = File.expand_path(value)
37
38
  UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist? value
38
39
  UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with? ".ipa"
39
40
  end),
@@ -12,7 +12,7 @@ module Precheck
12
12
  end
13
13
 
14
14
  def self.friendly_name
15
- "No incorrect, or missing copyright date"
15
+ "Incorrect, or missing copyright date"
16
16
  end
17
17
 
18
18
  def self.description
@@ -97,7 +97,9 @@ module Snapshot
97
97
  return find_screenshot(subactivity) if subactivity["Title"] == "Synthesize event"
98
98
  end
99
99
 
100
- if activity["Attachments"]
100
+ if activity["Attachments"] && activity["Attachments"].last && activity["Attachments"].last["Filename"]
101
+ return activity["Attachments"].last["Filename"]
102
+ elsif activity["Attachments"]
101
103
  return activity["Attachments"].last["FileName"]
102
104
  else # Xcode 7.3 has stopped including 'Attachments', so we synthesize the filename manually
103
105
  return "Screenshot_#{activity['UUID']}.png"
@@ -18,10 +18,6 @@ module Snapshot
18
18
  sleep 3 # to be sure the user sees this, as compiling clears the screen
19
19
  end
20
20
 
21
- if Helper.xcode_at_least?("9")
22
- UI.user_error!("snapshot currently doesn't work with Xcode 9, we're working on implementing the new screenshots API to offer the best experience 🚀\nYou can change the Xcode version to use using `sudo xcode-select -s /Applications/Xcode...app`")
23
- end
24
-
25
21
  Snapshot.config[:output_directory] = File.expand_path(Snapshot.config[:output_directory])
26
22
 
27
23
  verify_helper_is_current
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.40.0
4
+ version: 2.41.0.beta.20170623010027
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-06-22 00:00:00.000000000 Z
18
+ date: 2017-06-23 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
1403
- - fastlane/lib
1404
1400
  - fastlane_core/lib
1405
- - frameit/lib
1401
+ - credentials_manager/lib
1406
1402
  - gym/lib
1407
- - match/lib
1408
- - pem/lib
1409
- - pilot/lib
1410
- - precheck/lib
1403
+ - supply/lib
1411
1404
  - produce/lib
1412
1405
  - scan/lib
1413
- - screengrab/lib
1406
+ - deliver/lib
1407
+ - pem/lib
1414
1408
  - sigh/lib
1415
- - snapshot/lib
1409
+ - screengrab/lib
1410
+ - precheck/lib
1411
+ - pilot/lib
1412
+ - fastlane/lib
1413
+ - match/lib
1414
+ - frameit/lib
1416
1415
  - spaceship/lib
1417
- - supply/lib
1416
+ - snapshot/lib
1417
+ - cert/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.5.1
1430
+ rubygems_version: 2.4.5.2
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: