cocoapods-xcremotecache 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: 3d318ae852c59d8bff4fec2521620ebe59dd8888cc5d0d33a3a9abd8a331b4ac
|
4
|
+
data.tar.gz: 22ca6c2ee0c87ef89260efcf031dd5c9f3c9b101d483965031f079dc36af49b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4619b79b468ffac80c5ed0d7e0339b460e39817b2a763bb0e6a756d839b5baa7bf2a3673cb51b7db24b2d2790fa72cff5e05c5192102cec5231689e2e020284
|
7
|
+
data.tar.gz: 35a8375ee395f281f008ec6dd4f7f1d6943d15cd78f960875bd302e64ee6daeb4417ee7932ec8c4f23c68a6877d769a83d0b59a9fe78393a2a298d3e5af7e388
|
@@ -135,7 +135,8 @@ module CocoapodsXCRemoteCacheModifier
|
|
135
135
|
phase.name != nil && phase.name.start_with?("[XCRC] Prebuild")
|
136
136
|
end
|
137
137
|
end
|
138
|
-
|
138
|
+
|
139
|
+
prebuild_script = existing_prebuild_script || target.new_shell_script_build_phase("[XCRC] Prebuild #{target.name}")
|
139
140
|
prebuild_script.shell_script = "\"$SCRIPT_INPUT_FILE_0\""
|
140
141
|
prebuild_script.input_paths = ["$SRCROOT/#{srcroot_relative_xc_location}/xcprebuild"]
|
141
142
|
prebuild_script.output_paths = [
|
@@ -144,8 +145,9 @@ module CocoapodsXCRemoteCacheModifier
|
|
144
145
|
]
|
145
146
|
prebuild_script.dependency_file = "$(TARGET_TEMP_DIR)/prebuild.d"
|
146
147
|
|
147
|
-
# Move prebuild (last element) to the
|
148
|
-
target.build_phases.
|
148
|
+
# Move prebuild (last element) to the position before compile sources phase (to make it real 'prebuild')
|
149
|
+
compile_phase_index = target.build_phases.index(target.source_build_phase)
|
150
|
+
target.build_phases.insert(compile_phase_index, target.build_phases.delete(prebuild_script))
|
149
151
|
elsif mode == 'producer' || mode == 'producer-fast'
|
150
152
|
# Delete existing prebuild build phase (to support switching between modes)
|
151
153
|
target.build_phases.delete_if do |phase|
|
@@ -161,7 +163,7 @@ module CocoapodsXCRemoteCacheModifier
|
|
161
163
|
phase.name != nil && phase.name.start_with?("[XCRC] Postbuild")
|
162
164
|
end
|
163
165
|
end
|
164
|
-
postbuild_script = existing_postbuild_script || target.new_shell_script_build_phase("[XCRC] Postbuild")
|
166
|
+
postbuild_script = existing_postbuild_script || target.new_shell_script_build_phase("[XCRC] Postbuild #{target.name}")
|
165
167
|
postbuild_script.shell_script = "\"$SCRIPT_INPUT_FILE_0\""
|
166
168
|
postbuild_script.input_paths = ["$SRCROOT/#{srcroot_relative_xc_location}/xcpostbuild"]
|
167
169
|
postbuild_script.output_paths = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-xcremotecache
|
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
|
- Bartosz Polaczyk
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-02-
|
12
|
+
date: 2022-02-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: CocoaPods plugin that enables XCRemoteCache with the project.
|
15
15
|
email:
|