cocoapods-xcremotecache 0.0.12 → 0.0.13
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: 8929b95b00fd3885898cf18700dddc98fc22b6918f806dae77dd999848a26a35
|
4
|
+
data.tar.gz: f1e5cdb7db24fbc0c3b29e048424643621dc7c5fea985d0a29d26689e4441deb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d79a51a5c7c21a472caa1311e7208b25322b13a9190cbc29f06d302f1e8d445073d1d985ed5d6626b78de93f28ac08ffb2866195fcd80dc1fecdad4817a971a5
|
7
|
+
data.tar.gz: bfd2ef88c899f0e6be31ea12109aaffcc09e30582fee638d2b1a206d2e7460fe0249d5695223abcc9220a4425363ebd4deb49102f5df0b9e4daed32e594796cf
|
@@ -127,6 +127,8 @@ module CocoapodsXCRemoteCacheModifier
|
|
127
127
|
config.build_settings['SWIFT_EXEC'] = ["$SRCROOT/#{srcroot_relative_xc_location}/xcswiftc"]
|
128
128
|
config.build_settings['LIBTOOL'] = ["$SRCROOT/#{srcroot_relative_xc_location}/xclibtool"]
|
129
129
|
config.build_settings['LD'] = ["$SRCROOT/#{srcroot_relative_xc_location}/xcld"]
|
130
|
+
config.build_settings['LDPLUSPLUS'] = ["$SRCROOT/#{srcroot_relative_xc_location}/xcldplusplus"]
|
131
|
+
config.build_settings['SWIFT_USE_INTEGRATED_DRIVER'] = ['NO']
|
130
132
|
|
131
133
|
config.build_settings['XCREMOTE_CACHE_FAKE_SRCROOT'] = fake_src_root
|
132
134
|
config.build_settings['XCRC_PLATFORM_PREFERRED_ARCH'] = ["$(LINK_FILE_LIST_$(CURRENT_VARIANT)_$(PLATFORM_PREFERRED_ARCH):dir:standardizepath:file:default=arm64)"]
|
@@ -181,6 +183,11 @@ module CocoapodsXCRemoteCacheModifier
|
|
181
183
|
"$(TARGET_BUILD_DIR)/$(MODULES_FOLDER_PATH)/$(PRODUCT_MODULE_NAME).swiftmodule/$(XCRC_PLATFORM_PREFERRED_ARCH)-$(LLVM_TARGET_TRIPLE_VENDOR)-$(SWIFT_PLATFORM_TARGET_PREFIX)$(LLVM_TARGET_TRIPLE_SUFFIX).swiftmodule.md5"
|
182
184
|
]
|
183
185
|
postbuild_script.dependency_file = "$(TARGET_TEMP_DIR)/postbuild.d"
|
186
|
+
# Move postbuild (last element) to the position after compile sources phase (to make it real 'postbuild')
|
187
|
+
if !existing_postbuild_script
|
188
|
+
compile_phase_index = target.build_phases.index(target.source_build_phase)
|
189
|
+
target.build_phases.insert(compile_phase_index + 1, target.build_phases.delete(postbuild_script))
|
190
|
+
end
|
184
191
|
|
185
192
|
# Mark a sha as ready for a given platform and configuration when building the final_target
|
186
193
|
if (mode == 'producer' || mode == 'producer-fast') && target.name == final_target
|
@@ -208,6 +215,8 @@ module CocoapodsXCRemoteCacheModifier
|
|
208
215
|
config.build_settings.delete('SWIFT_EXEC') if config.build_settings.key?('SWIFT_EXEC')
|
209
216
|
config.build_settings.delete('LIBTOOL') if config.build_settings.key?('LIBTOOL')
|
210
217
|
config.build_settings.delete('LD') if config.build_settings.key?('LD')
|
218
|
+
config.build_settings.delete('LDPLUSPLUS') if config.build_settings.key?('LDPLUSPLUS')
|
219
|
+
config.build_settings.delete('SWIFT_USE_INTEGRATED_DRIVER') if config.build_settings.key?('SWIFT_USE_INTEGRATED_DRIVER')
|
211
220
|
# Remove Fake src root for ObjC & Swift
|
212
221
|
config.build_settings.delete('XCREMOTE_CACHE_FAKE_SRCROOT')
|
213
222
|
config.build_settings.delete('XCRC_PLATFORM_PREFERRED_ARCH')
|
@@ -231,7 +240,7 @@ module CocoapodsXCRemoteCacheModifier
|
|
231
240
|
end
|
232
241
|
|
233
242
|
def self.download_xcrc_if_needed(local_location)
|
234
|
-
required_binaries = ['xcld', 'xclibtool', 'xcpostbuild', 'xcprebuild', 'xcprepare', 'xcswiftc']
|
243
|
+
required_binaries = ['xcld', 'xcldplusplus', 'xclibtool', 'xcpostbuild', 'xcprebuild', 'xcprepare', 'xcswiftc']
|
235
244
|
binaries_exist = required_binaries.reduce(true) do |exists, filename|
|
236
245
|
file_path = File.join(local_location, filename)
|
237
246
|
exists = exists && File.exist?(file_path)
|
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.13
|
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-
|
12
|
+
date: 2022-07-06 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: CocoaPods plugin that enables XCRemoteCache with the project.
|
15
15
|
email:
|