cocoapods-hmap-simple 1.0.3 → 1.0.4
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/hmap_optimize.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a3b893c05e8ef2c396266909325327cbe743f58aaef2273ae2c68c73908b98a
|
4
|
+
data.tar.gz: 858a3e1164807760c20e02315a4da1808cdbf80e1266e2409dddfa0ed1bd3aa2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a21d12e5951be1ad6b712df56278ddbbddaafa80b57826f036fe720ac388f50b9a8c8b3eab7d6ce2e9a96457fb28bf6096455738c459912809c5c54e1cd08bed
|
7
|
+
data.tar.gz: dd2187bdd5c9a93ea2a0d7ab485759e47c4203b2f214d10a9badf66d4979e304a497633ca7445678e4d7bf1b0e86c46e599f46c83061ae026169eacb44cf8ef4
|
data/lib/hmap_optimize.rb
CHANGED
@@ -6,7 +6,7 @@ combining "${PODS_ROOT}/Headers/Public/*" to a single hmap. (not including ${POD
|
|
6
6
|
module Pod
|
7
7
|
class HmapHelper
|
8
8
|
def self.post_install(installer)
|
9
|
-
to_remove = -> path { path.include?("${PODS_ROOT}/Headers/Public/") }
|
9
|
+
to_remove = -> path { path.include?("${PODS_ROOT}/Headers/Public/") || path.include?("${PODS_ROOT}/Headers/hmap/") }
|
10
10
|
|
11
11
|
headers_for_path = -> path do
|
12
12
|
@cached_headers ||= {}
|
@@ -72,7 +72,8 @@ module Pod
|
|
72
72
|
return if hmap_md5.blank?
|
73
73
|
|
74
74
|
xcconfig_path = target.xcconfig_path(config)
|
75
|
-
|
75
|
+
return unless File.exist?(xcconfig_path)
|
76
|
+
xcconfig = Xcodeproj::Config.new(xcconfig_path)
|
76
77
|
|
77
78
|
hmap_path = File.expand_path("Headers/hmap/#{hmap_md5}.hmap", installer.sandbox.root.to_s)
|
78
79
|
return unless File.exist?(hmap_path)
|