cocoapods-alexandria 0.2.0 → 0.2.3

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: 9400a2ed133bb3f4f14db6c3d24a6df569875130386e59734e02558b05913143
4
- data.tar.gz: 57dc2f0f5d526cffb5c8c0958a684d55be0413d64fada2df4426aa6b4c5615eb
3
+ metadata.gz: 46cf82205ab24e541ad33a1ca9a006bcdcca91b9d74de55bcca6f30cfd3d20a5
4
+ data.tar.gz: 07fb6b9a0ab2303f8101b078d36ca57afb8d3a05b954d4bbcb46e85f95d6d540
5
5
  SHA512:
6
- metadata.gz: 3ca10b51f5ff9059f9fc3007191555e4b7af0b51c13f7d77295a8d6676c8c551b597db4f0d7da2498adb95cc6016dc53b75faa70e88823f03a015b0b5dbd942a
7
- data.tar.gz: 2285e47798e9eb4207099d09e9eb5053fccc2021a43e7d9adf0c5801ca508808615a86a0a24f20ad27702093039ac89d2dc714718a592e8de3b224e5a674eaf8
6
+ metadata.gz: 27422e274948754cc86b5d80bf18d8a4c145a33fd7702056c541d2f138b5e46bf397f5c639cdd0b4ffdc47adeb3b64e23e0ae13734b6b866c71992ce7750f5b8
7
+ data.tar.gz: 390bb68dbb97befcb794831b5834aa6e4520e7b4b823dfc471a54fc309c646f54fd1d56db3fb403c75dafc865a3b10a725819f0c7c0fa2a7916e7da59a94aa94
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAlexandria
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.3'
3
3
  end
@@ -36,6 +36,7 @@ module PodAlexandria
36
36
 
37
37
  def skip_build?(target, module_name, sdk)
38
38
  File.directory?(destination_path(module_name)) ||
39
+ File.directory?(build_path(target, module_name, sdk)) ||
39
40
  !is_native_target?(target)
40
41
  end
41
42
 
@@ -90,12 +90,12 @@ module PodAlexandria
90
90
 
91
91
  def delete(spec)
92
92
  name = spec_modules[spec] || module_name(spec)
93
- path = "#{destination}/#{name}.framework"
93
+ paths = Dir["#{destination}/#{name}.{framework,xcframework}"]
94
94
 
95
- if File.directory?(path)
96
- FileUtils.remove_dir(path, true)
95
+ if !paths.empty?
96
+ paths.each { |path| FileUtils.remove_dir(path, true) }
97
97
  else
98
- Pod::UI.warn "🤔 Could not delete #{path}, it does not exist! (this is normal for newly added pods)"
98
+ Pod::UI.warn "🤔 Could not delete #{destination}/#{name}.(xc)framework, it does not exist! (this is normal for newly added pods)"
99
99
  end
100
100
  end
101
101
 
@@ -35,7 +35,7 @@ module PodAlexandria
35
35
  end
36
36
 
37
37
  def self.config_file_for_target(installer_context, target)
38
- Dir["#{installer_context.sandbox_root}/Target Support Files/#{target.cocoapods_target_label}/#{target.cocoapods_target_label}.*.xcconfig"]
38
+ Dir["#{installer_context.sandbox_root}/Target Support Files/#{target.cocoapods_target_label}/#{target.cocoapods_target_label}.*release.xcconfig"]
39
39
  .first
40
40
  end
41
41
 
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.0
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Jennes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-30 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  requirements: []
100
- rubygems_version: 3.0.3
100
+ rubygems_version: 3.0.3.1
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: Alexandria allows for easier integration with XcodeGen, and automatically