cocoapods-tdfire-binary 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/Gemfile.lock +2 -2
- data/cocoapods-tdfire-binary.gemspec +1 -1
- data/lib/cocoapods-tdfire-binary/gem_version.rb +1 -1
- data/lib/cocoapods-tdfire-binary/podfile_hook.rb +15 -15
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c4835ea5959c01552b73b24b060a87ef2242f22
|
|
4
|
+
data.tar.gz: 1efa3df66f44870238af8499f0a843c305609db8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 15cf78d145948bbfd8a8915baae1f98741df5731f5793d36297b3cc0aedba14ae95ff27200421c48fb4ef156b957155b1692655918d16e4c17ac17a6d7a8b5a5
|
|
7
|
+
data.tar.gz: a6cf5a51d2eef307f97d665b7d6a7dfc7bd7d542c4de080d20a99e9765f616b097fc476ce9607fe6b1b5bec05fc22a2d0e221800c6f1d046a95e2cc5e7fd66e0
|
data/Gemfile.lock
CHANGED
|
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
|
22
22
|
spec.add_development_dependency 'rake', '~> 12.0'
|
|
23
23
|
|
|
24
|
-
spec.add_dependency 'cocoapods', '
|
|
24
|
+
spec.add_dependency 'cocoapods', '1.4'
|
|
25
25
|
spec.add_dependency 'cocoapods-packager', '~> 1.5.0'
|
|
26
26
|
end
|
|
@@ -47,25 +47,25 @@ module CocoapodsTdfireBinary
|
|
|
47
47
|
# CocoaPods 1.5.0 修复了此问题
|
|
48
48
|
#
|
|
49
49
|
# fix `Shell Script` Build Phase Fails When Input / Output Files List is Too Large
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
Pod::UI.section('Tdfire: auto clean input and output files') do
|
|
51
|
+
context.umbrella_targets.map(&:user_targets).flatten.uniq.each do |t|
|
|
52
|
+
phase = t.shell_script_build_phases.find { |p| p.name.include?(Pod::Installer::UserProjectIntegrator::TargetIntegrator::COPY_PODS_RESOURCES_PHASE_NAME) }
|
|
53
53
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
max_input_output_paths = 1000
|
|
55
|
+
input_output_paths = phase.input_paths.count + phase.output_paths.count
|
|
56
|
+
Pod::UI.message "Tdfire: input paths and output paths count for #{t.name} : #{input_output_paths}"
|
|
57
57
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
58
|
+
if input_output_paths > max_input_output_paths
|
|
59
|
+
phase.input_paths.clear
|
|
60
|
+
phase.output_paths.clear
|
|
61
|
+
end
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
end
|
|
64
64
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
context.umbrella_targets.map(&:user_project).each do |project|
|
|
66
|
+
project.save
|
|
67
|
+
end
|
|
68
|
+
end
|
|
69
69
|
|
|
70
70
|
Pod::UI.puts "Tdfire: all source dependency pods: #{BinaryStateStore.real_use_source_pods.join(', ')}" if BinaryStateStore.use_binary?
|
|
71
71
|
Pod::UI.puts "Tdfire: all unpublished pods: #{BinaryStateStore.unpublished_pods.join(', ')}"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-tdfire-binary
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- tripleCC
|
|
@@ -42,14 +42,14 @@ dependencies:
|
|
|
42
42
|
name: cocoapods
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- -
|
|
45
|
+
- - '='
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: '1.4'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- -
|
|
52
|
+
- - '='
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '1.4'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|