cocoapods-alexandria 0.2.8 → 0.2.9
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-alexandria/gem_version.rb +1 -1
- data/lib/cocoapods-alexandria/rome/compiler.rb +10 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16689da9df218088e945e9bd5190c859f4caa49f7c386ccc494f574d457653cf
|
4
|
+
data.tar.gz: 8d0bacb4327067501e4f2a34c4dc31922cfed795d33bf3080cf211dde1c45f16
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1cc5ab209cbfc294c14af092d7bec073c48be29392e40e17e0ff6c3eb39f0f53a5a5f2173f7c4c8dc556e0620d3be675645eafc81501c0b8138a9ff0d97cb58
|
7
|
+
data.tar.gz: b92845b7f530a63ef5ec257d7794442353fd15bec10c67db797010a6ddfcd04b3683a8445a8ffd600762aa84a927310e9df3994d560279b7247346b912efae4a
|
@@ -54,15 +54,11 @@ module PodAlexandria
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def build_path(target, sdk)
|
57
|
-
#
|
58
|
-
# See https://github.com/CocoaPods/CocoaPods/issues/8007
|
59
|
-
"#{build_dir}/#{configuration}-#{sdk}/#{target.name}/#{target.product_reference.path}"
|
57
|
+
"#{build_dir}/#{configuration}-#{sdk}/#{target.name}/#{target.product_path}"
|
60
58
|
end
|
61
59
|
|
62
60
|
def destination_path(target)
|
63
|
-
#
|
64
|
-
# See https://github.com/CocoaPods/CocoaPods/issues/8007
|
65
|
-
"#{destination}/#{target.product_reference.path}"
|
61
|
+
"#{destination}/#{target.product_path}"
|
66
62
|
end
|
67
63
|
end
|
68
64
|
end
|
@@ -87,6 +83,14 @@ module Xcodeproj
|
|
87
83
|
.map { |d| [d.target] + d.target.all_dependencies }
|
88
84
|
.flatten.uniq
|
89
85
|
end
|
86
|
+
|
87
|
+
# Note: using target.product_name is wrong in some cases (Cocoapods project generation bug)
|
88
|
+
# See https://github.com/CocoaPods/CocoaPods/issues/8007
|
89
|
+
def product_path
|
90
|
+
extension = File.extname(product_reference.path)
|
91
|
+
module_name = resolved_build_setting('PRODUCT_MODULE_NAME', true).values[0]
|
92
|
+
"#{module_name}#{extension}"
|
93
|
+
end
|
90
94
|
end
|
91
95
|
end
|
92
96
|
|
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
|
+
version: 0.2.9
|
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-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|