cocoapods-swift-binary-source-resolver 0.0.1 → 0.0.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9be2304421d164e300b4456f57254653f07ef6de8a21ad023fd6a3f2c18c87a5
|
4
|
+
data.tar.gz: 8f72d2e06f615f4504a0b81d4573b25fb035b675b4765092c094fddca5031dcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e7df44f2054738a6d6844b74fac31dd9c2cb88490b09a0bf0c4ef9093bcc2c0e25da04381a9f14240feebe94d9c52ecc406cf1043ca77c2d8d3336e060296b5
|
7
|
+
data.tar.gz: 4d8260eefa1550132004df23082e9be6a2f710d5cbfde81a69c83f3e02dd0c03b334873ab04606d6943ceb2e59fdfc24bb64383746572d8d86e41f0ce7090c3c
|
@@ -27,7 +27,10 @@ module Pod
|
|
27
27
|
paths = specification_paths_for_version(highest_version)
|
28
28
|
paths.each do |path|
|
29
29
|
begin
|
30
|
-
|
30
|
+
spec = Specification.from_file(path)
|
31
|
+
# 对于不知道版本的,也略过
|
32
|
+
next unless spec.instance_variable_get(:@bd_multiple_swift_binary)
|
33
|
+
return spec # the real out
|
31
34
|
rescue => e
|
32
35
|
inner_info_exception = e
|
33
36
|
if e.kind_of? DSLError
|
@@ -41,7 +44,7 @@ module Pod
|
|
41
44
|
end
|
42
45
|
end
|
43
46
|
|
44
|
-
raise Informative, "Could not find the
|
47
|
+
raise Informative, "Could not find the version for `#{name}`. "\
|
45
48
|
"This could be due to an empty #{name} directory in a local repository."
|
46
49
|
end
|
47
50
|
|