fastlane-plugin-ipa_info 0.8.0 → 0.8.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4760b3932e7e1b06973ec7bba3af813b0e73d126fc07735b7a5f851c31d8c5e
|
4
|
+
data.tar.gz: 933a353918805cb565d01652b76675923780f982de0587919569869d137c0a2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 684a77ae2d2876dc5c00a07718684d899d8ee71dd09903afe675b7e7e19e69b15c8f78afd3372ef378489637e8db6428c658d0116bf41dcce804cfcf6599cea3
|
7
|
+
data.tar.gz: 9e2b92e2f584f35e14fad54117ac2bb39e81f9abbe72015e5744fde542924f77bebc3834f22c38cf920d5d84ed055f379c4566a5664467ee7c700399e3c10db9
|
@@ -22,13 +22,11 @@ module Fastlane
|
|
22
22
|
|
23
23
|
# Info plist
|
24
24
|
def self.analyze_info_plist(data)
|
25
|
-
tempfile = Tempfile.new(::File.basename("
|
25
|
+
tempfile = Tempfile.new(::File.basename("infoplist"))
|
26
26
|
result = {}
|
27
27
|
|
28
28
|
begin
|
29
|
-
File.
|
30
|
-
output.puts(data)
|
31
|
-
end
|
29
|
+
File.binwrite(tempfile.path, data)
|
32
30
|
UI.user_error!("Failed to convert binary Plist to XML") unless system("plutil -convert xml1 '#{tempfile.path}'")
|
33
31
|
|
34
32
|
plist = Plist.parse_xml(tempfile.path)
|
@@ -48,13 +46,11 @@ module Fastlane
|
|
48
46
|
|
49
47
|
# mobileprovisioning
|
50
48
|
def self.analyze_mobileprovisioning(data)
|
51
|
-
tempfile = Tempfile.new(::File.basename("
|
49
|
+
tempfile = Tempfile.new(::File.basename("mobileprovisioning"))
|
52
50
|
result = {}
|
53
51
|
|
54
52
|
begin
|
55
|
-
File.
|
56
|
-
output.puts(data)
|
57
|
-
end
|
53
|
+
File.binwrite(tempfile.path, data)
|
58
54
|
mobileprovisioning = Plist.parse_xml(`security cms -D -i #{tempfile.path}`)
|
59
55
|
mobileprovisioning.each do |key, value|
|
60
56
|
next if key == 'DeveloperCertificates'
|
@@ -113,7 +109,7 @@ module Fastlane
|
|
113
109
|
|
114
110
|
# return app folder path
|
115
111
|
def self.find_app_folder_path_in_ipa(ipa_path)
|
116
|
-
return "Payload
|
112
|
+
return "Payload/*.app"
|
117
113
|
end
|
118
114
|
|
119
115
|
private_class_method :find_app_folder_path_in_ipa
|