cocoapods-spm2 0.1.10 → 0.1.12

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: 61c295a3bd5dc13beff3de299254b1e38e65f5618f11b03eb85009d3e59f91df
4
- data.tar.gz: ae2353e7d463cbe3205e480efd0450cb202c0e0ef86819cb464b8d1b62d050ad
3
+ metadata.gz: 58341a00958af05461852c5b1e9148e8ba9d83e4c985e693902b14fe2292a760
4
+ data.tar.gz: ab8a1b4254acd372e6e6dd2ec749faed868b32468fbcf8ce299251d363ff761b
5
5
  SHA512:
6
- metadata.gz: 37db7d97562b0f2024066449d190782849235134109bb04c0de6035389e12abe74469a6bbce154d14915d5928710e7cad536c7039a6c86214101cae29a1e7e2a
7
- data.tar.gz: 4d247fb37f0b5b53feec72307bb5bfc3ab85bf50cf70b213933b2756c5c45403c7d7d6b41a53aefb987fc864e0ebeddb2b5f96ae3fea2c65f6abcab283f7879b
6
+ metadata.gz: b7b0bd68501c3b99c636f598c075add5a61b5dfc5e8691cc394c90e45d78d703d236f3230523054d311a433ec614be2cf77146f84fa363c1ff7b90fc4303c870
7
+ data.tar.gz: 60fdbd3713bb3e277aeb15aa00b3e735d79c67a0113ae23fad82544973a0340d95910b78671553d29a008f00a5ab2ae461d8382488b0e42c9f047c66708bf02a
@@ -29,7 +29,18 @@ module Pod
29
29
  next if dep.pkg.try(:use_default_xcode_linking?)
30
30
 
31
31
  @podfile.platforms.each do |platform|
32
- project_pkgs.resolve_recursive_targets_of(dep.pkg.name, dep.product, platform: platform)
32
+ begin
33
+ pkg_name = dep.pkg&.name
34
+ next unless pkg_name # Skip if package name is nil/undefined
35
+
36
+ project_pkgs.resolve_recursive_targets_of(
37
+ pkg_name,
38
+ dep.product,
39
+ platform: platform
40
+ )
41
+ rescue StandardError => e
42
+ warn "Failed to resolve targets for #{pkg_name || 'unknown package'} on #{platform}: #{e.message}"
43
+ end
33
44
  end
34
45
  end
35
46
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-spm2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Ledger