cocoapods-binary-artifactory-cache 0.0.6 → 0.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36950b359fd58cf20b6961d93dbeaf5e35e2f77bd2a6c7a70becb43fde143b72
|
4
|
+
data.tar.gz: c662bf7cc890f0cf1714a6c7ebddb452f599ee949290b5f87c2a87dfd5d1ca9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87e0388dc105be402cfa7e14c668322874b0acd63063db6f39d7c7f2ef10621730da0b80f58ffe91133e95403678aaddad0e4695a2b05ae5e14b309413128245
|
7
|
+
data.tar.gz: eaa69f3edd8eebcce84bd92f2fda7547d7c1b3f041994f9a9a5e7fcf91fcf349e650d25622cc995b36e3f4a8c08fbb4299de7229e8bb5981959f38d707fc4881
|
@@ -135,10 +135,13 @@ module PodPrebuild
|
|
135
135
|
replaceString2 = "-e 's/\(#{escapedPod}\\./(/g'"
|
136
136
|
replaceString3 = "-e 's/\\[#{escapedPod}\\./[/g'"
|
137
137
|
replaceString4 = "-e 's/<#{escapedPod}\\./</g'"
|
138
|
+
Pod::UI.puts_indented "$ find '#{output_path(target)}/#{target.product_module_name}.xcframework' -name '*.swiftinterface' -exec sed -i -e #{replaceString1} #{replaceString2} #{replaceString3} #{replaceString4} {} \\\;"
|
138
139
|
`find "#{output_path(target)}/#{target.product_module_name}.xcframework" -name '*.swiftinterface' -exec sed -i -e #{replaceString1} #{replaceString2} #{replaceString3} #{replaceString4} {} \\\;`
|
139
140
|
end
|
140
141
|
#remove dublication name in other frameworks
|
141
|
-
|
142
|
+
allDirTargets = Dir["#{@options[:output_path]}/*"].map { |x| x.gsub("#{@options[:output_path]}/", "") }
|
143
|
+
replaceString = allDirTargets.map { |x| x.product_module_name }.uniq().map{ |x| x.gsub('/', '\/')}.map{|x| "-e 's/#{x}\\.#{x}/#{x}/g'"}.join(' ')
|
144
|
+
Pod::UI.puts_indented "$ find #{@options[:output_path]} -name '*.swiftinterface' -exec sed -i -e #{replaceString} {} \\\;"
|
142
145
|
`find #{@options[:output_path]} -name '*.swiftinterface' -exec sed -i -e #{replaceString} {} \\\;`
|
143
146
|
end
|
144
147
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary-artifactory-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eugene Antropov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|