cocoapods-alexandria 0.2.4 → 0.2.5

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: 53a4f9bbe821077493e3ed28b9498c8d354568a5d1db2b21325a410f01ac9174
4
- data.tar.gz: dc38d21a6c95984c84398423813359c35f9c38c1d10acfff3ec1ec568749f97c
3
+ metadata.gz: 6d3e818c908ebf093b15067e862eb0aa6b0c4a576023b07596014806386d605b
4
+ data.tar.gz: 064c89f49a1d7ffe73c8e8c2f45df3bd56550fbb594388f26b92e77bedfee02f
5
5
  SHA512:
6
- metadata.gz: 2bd60a0217002b5c9301f3ccc9cc72dffec098f5aacd479a630aa13cdcf531c53126717b3baf745a8690ac9fb6d0d22607bf1a5a2cfbf8586f9ccbf013eb277f
7
- data.tar.gz: c99fd46bf20edd1e1c96ebae578d555fe761c2488e04bea00b37bfc595df310f0f200b5b253cc6e4dc1b1a655110dc00611707655fefd01254b97874eef63abf
6
+ metadata.gz: a5cb6e45538fa2b455bd4772a0a2abeab086624ec7f597c220f19b1590346234e08cfd039c8bb10b12479a46b0c2392efc5a055aa39cf9c6c24ce1311101febc
7
+ data.tar.gz: b0942db92ebf9f9eac042c07ddf84ee7a7f0548b6720869abe391f973a105d6de2dd6a04560241c945232f7c247ea63d9f2421f3cbe6294edc5860ecbf66f73c
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAlexandria
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
@@ -55,11 +55,15 @@ module PodAlexandria
55
55
  end
56
56
 
57
57
  def build_path(target, sdk)
58
- "#{build_dir}/#{configuration}-#{sdk}/#{target.name}/#{target.product_name}.framework"
58
+ # Note: using target.product_name is wrong in some cases (Cocoapods project generation bug)
59
+ # See https://github.com/CocoaPods/CocoaPods/issues/8007
60
+ "#{build_dir}/#{configuration}-#{sdk}/#{target.name}/#{target.product_reference.name}"
59
61
  end
60
62
 
61
63
  def destination_path(target)
62
- "#{destination}/#{target.product_name}.framework"
64
+ # Note: using target.product_name is wrong in some cases (Cocoapods project generation bug)
65
+ # See https://github.com/CocoaPods/CocoaPods/issues/8007
66
+ "#{destination}/#{target.product_reference.name}"
63
67
  end
64
68
  end
65
69
  end
@@ -90,12 +90,12 @@ module PodAlexandria
90
90
 
91
91
  def delete(spec)
92
92
  name = spec_modules[spec] || module_name(spec)
93
- paths = Dir["#{destination}/#{name}.{framework,xcframework}"]
93
+ paths = Dir["#{destination}/#{name}.{a,framework,xcframework}"]
94
94
 
95
95
  if !paths.empty?
96
- paths.each { |path| FileUtils.remove_dir(path, true) }
96
+ paths.each { |path| FileUtils.remove_entry(path, true) }
97
97
  else
98
- Pod::UI.warn "🤔 Could not delete #{destination}/#{name}.(xc)framework, it does not exist! (this is normal for newly added pods)"
98
+ Pod::UI.warn "🤔 Could not delete cached binary for #{name}, it does not exist! (this is normal for newly added pods)"
99
99
  end
100
100
  end
101
101
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-alexandria
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Jennes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-02 00:00:00.000000000 Z
11
+ date: 2022-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods