fastlane 2.46.0.beta.20170707010003 → 2.46.0.beta.20170708010003
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a4fca885d0544fe2b443967cbd3e87eccbd0973
|
4
|
+
data.tar.gz: 726c63eca2d779ba9e6811e6ea1146ce646da6d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20c5be4f167435c0ee5d429e6fef55ae9a1f9b800d239f4b42234afd9d10a69c745f29c87fe96b5f346f9b2e8140a4a77267706992220c03a394de46205f183b
|
7
|
+
data.tar.gz: 27480fc0ac20dbbfaabac8e8a9569367270f79dc1119d295408c093a3e5646b50eb442c9e7c788db2c3197692296104ff673dae977426639b5629f9708351eb8
|
@@ -26,18 +26,23 @@ module Fastlane
|
|
26
26
|
# Since Xcode 9 you need to explicitly provide the provisioning profile per app target
|
27
27
|
# If the user used sigh we can match the profiles from sigh
|
28
28
|
values[:export_options] ||= {}
|
29
|
-
values[:export_options]
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
29
|
+
if values[:export_options].kind_of?(Hash)
|
30
|
+
# It's not always a hash, because the user might have passed a string path to a ready plist file
|
31
|
+
# If that's the case, we won't set the provisioning profiles
|
32
|
+
# see https://github.com/fastlane/fastlane/issues/9684
|
33
|
+
values[:export_options][:provisioningProfiles] ||= {}
|
34
|
+
Actions.lane_context[SharedValues::SIGH_PROFILE_PATHS].each do |profile_path|
|
35
|
+
begin
|
36
|
+
profile = FastlaneCore::ProvisioningProfile.parse(profile_path)
|
37
|
+
profile_team_id = profile["TeamIdentifier"].first
|
38
|
+
next if profile_team_id != values[:export_team_id] && !values[:export_team_id].nil?
|
39
|
+
bundle_id = profile["Entitlements"]["application-identifier"].gsub "#{profile_team_id}.", ""
|
40
|
+
values[:export_options][:provisioningProfiles][bundle_id] = profile["Name"]
|
41
|
+
rescue => ex
|
42
|
+
UI.error("Couldn't load profile at path: #{profile_path}")
|
43
|
+
UI.error(ex)
|
44
|
+
UI.verbose(ex.backtrace.join("\n"))
|
45
|
+
end
|
41
46
|
end
|
42
47
|
end
|
43
48
|
end
|
@@ -222,13 +222,15 @@ Slather is available at https://github.com/SlatherOrg/slather
|
|
222
222
|
is_string: false,
|
223
223
|
default_value: false),
|
224
224
|
FastlaneCore::ConfigItem.new(key: :binary_basename,
|
225
|
-
|
226
|
-
|
227
|
-
|
225
|
+
env_name: "FL_SLATHER_BINARY_BASENAME",
|
226
|
+
description: "Basename of the binary file, this should match the name of your bundle excluding its extension (i.e. YourApp [for YourApp.app bundle])",
|
227
|
+
is_string: false,
|
228
|
+
default_value: false),
|
228
229
|
FastlaneCore::ConfigItem.new(key: :binary_file,
|
229
|
-
|
230
|
-
|
231
|
-
|
230
|
+
env_name: "FL_SLATHER_BINARY_FILE",
|
231
|
+
description: "Binary file name to be used for code coverage",
|
232
|
+
is_string: false,
|
233
|
+
default_value: false),
|
232
234
|
FastlaneCore::ConfigItem.new(key: :source_files,
|
233
235
|
env_name: "FL_SLATHER_SOURCE_FILES",
|
234
236
|
description: "A Dir.glob compatible pattern used to limit the lookup to specific source files. Ignored in gcov mode",
|
@@ -60,7 +60,9 @@ module Gym
|
|
60
60
|
# each target of your app
|
61
61
|
# rubocop:disable Style/MultilineBlockChain
|
62
62
|
def self.detect_selected_provisioning_profiles
|
63
|
-
|
63
|
+
if Gym.config[:export_options] && Gym.config[:export_options].kind_of?(Hash) && Gym.config[:export_options][:provisioningProfiles]
|
64
|
+
return
|
65
|
+
end
|
64
66
|
|
65
67
|
require 'xcodeproj'
|
66
68
|
|
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.0.beta.
|
4
|
+
version: 2.46.0.beta.20170708010003
|
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-
|
18
|
+
date: 2017-07-08 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|