cocoapods-spm2 0.1.11 → 0.1.13
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 +4 -4
- data/lib/cocoapods-spm/config/spm.rb +2 -2
- data/lib/cocoapods-spm/resolver/validator.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f318adc3311f35f2c5db4949996038e10a51f538418cc58de463fb5676c80bec
|
4
|
+
data.tar.gz: 61d1c50e51bc64bf4298444886ffc584effcb1357914a4dc4770af794491e511
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87eaae5c2fdf1e6c64cb179f46c8bcee74d5e99b48af6d3a2c7353d372fcfa539aefc839559cecf613345925097baad098c0ec436bd3b30a3b0fa72bca705a17
|
7
|
+
data.tar.gz: a86bf9d7554eae162086fd2a3894992465d28fcc9229134eebee784704a0d6ccaf3675257b52f358b989c72a35322d6cd607c2e13c64e3d1515c7642294439f6
|
@@ -7,7 +7,7 @@ module Pod
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def macro_pods
|
10
|
-
pod_config.podfile
|
10
|
+
pod_config.podfile&.macro_pods
|
11
11
|
end
|
12
12
|
|
13
13
|
def local_macro_pod?(name)
|
@@ -53,7 +53,7 @@ module Pod
|
|
53
53
|
end
|
54
54
|
|
55
55
|
def all_macros
|
56
|
-
@all_macros ||= Pod::Config.instance.podfile
|
56
|
+
@all_macros ||= Pod::Config.instance.podfile&.macro_pods.keys
|
57
57
|
end
|
58
58
|
|
59
59
|
def macros
|
@@ -25,7 +25,8 @@ module Pod
|
|
25
25
|
messages = ["The following packages were not declared in Podfile:"]
|
26
26
|
messages += missing_pkgs.map { |pkg| " • #{pkg}: used by #{dependents_of_pkg(pkg).join(', ')}" }
|
27
27
|
messages << "Use the `spm_pkg` method to declare those packages in Podfile."
|
28
|
-
raise Informative, messages.join("\n")
|
28
|
+
#raise Informative, messages.join("\n")
|
29
|
+
warn messages.join("\n")
|
29
30
|
end
|
30
31
|
end
|
31
32
|
end
|