cocoapods-binary-matchup 0.0.4 → 0.0.7
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/cocoapods-binary-matchup-0.0.6.gem +0 -0
- data/lib/cocoapods-binary-matchup/Integration_cache.rb +1 -1
- data/lib/cocoapods-binary-matchup/Main.rb +8 -0
- data/lib/cocoapods-binary-matchup/gem_version.rb +1 -1
- data/lib/cocoapods-binary-matchup/rome/build_framework.rb +2 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7e74656ba959137bc467283d6f0187e12fdd347d4e32a8febe29378e30edd1f
|
4
|
+
data.tar.gz: 2f7a94d654c0bfac6d802ae6146f546883b2c21beb2c39ff25a8fdc079d5bb79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 119f67d579be29c580760217af5bd18fe59a020b50b513acc9151e9ba7b83878db2eefb0e1636709ecf58abc2149e959065c05400fa97e5555a2d51448d8c086
|
7
|
+
data.tar.gz: c79dc28fee921124ab5100c8c8e9764191ddfa2af941f7a05500f4e34f5ec1dd10403478ed6500b0fcccde5119acf2588fc02ca40b4b049a96cbe139c6805def
|
Binary file
|
@@ -7,7 +7,7 @@ module Pod
|
|
7
7
|
|
8
8
|
# 获取缓存根目录
|
9
9
|
def self.cache_root_dir
|
10
|
-
cache_dir = File.expand_path("~/.PodCache")
|
10
|
+
cache_dir = File.expand_path("~/.PodCache/#{Pod::Podfile::DSL.min_deployment_target}")
|
11
11
|
FileUtils.mkdir_p(cache_dir) unless Dir.exist?(cache_dir)
|
12
12
|
cache_dir
|
13
13
|
end
|
@@ -13,6 +13,7 @@ module Pod
|
|
13
13
|
DSL.prebuild_all = true
|
14
14
|
end
|
15
15
|
|
16
|
+
# Disable simulator build
|
16
17
|
def simulator_build_disable!
|
17
18
|
DSL.simulator_build_enabled = false
|
18
19
|
end
|
@@ -29,6 +30,10 @@ module Pod
|
|
29
30
|
DSL.dont_remove_source_code = true
|
30
31
|
end
|
31
32
|
|
33
|
+
def min_deployment_target(target)
|
34
|
+
DSL.min_deployment_target = target
|
35
|
+
end
|
36
|
+
|
32
37
|
# Add custom xcodebuild option to the prebuilding action
|
33
38
|
#
|
34
39
|
# You may use this for your special demands. For example: the default archs in dSYMs
|
@@ -63,6 +68,9 @@ module Pod
|
|
63
68
|
class_attr_accessor :simulator_build_enabled
|
64
69
|
simulator_build_enabled = true
|
65
70
|
|
71
|
+
class_attr_accessor :min_deployment_target
|
72
|
+
min_deployment_target = '14.0'
|
73
|
+
|
66
74
|
private
|
67
75
|
class_attr_accessor :prebuild_all
|
68
76
|
prebuild_all = false
|
@@ -21,10 +21,11 @@ def build_for_iosish_platform(sandbox,
|
|
21
21
|
custom_build_options_simulator = [] # Array<String>
|
22
22
|
)
|
23
23
|
|
24
|
-
deployment_target =
|
24
|
+
deployment_target = Pod::Podfile::DSL.min_deployment_target
|
25
25
|
|
26
26
|
target_label = target.label # name with platform if it's used in multiple platforms
|
27
27
|
Pod::UI.puts "Prebuilding #{target_label}..."
|
28
|
+
Pod::UI.puts "📦 deployment_target: #{deployment_target}"
|
28
29
|
|
29
30
|
other_options = []
|
30
31
|
# bitcode enabled
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-binary-matchup
|
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
|
- leavez
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- LICENSE.txt
|
100
100
|
- README.md
|
101
101
|
- Rakefile
|
102
|
+
- cocoapods-binary-matchup-0.0.6.gem
|
102
103
|
- cocoapods-binary-matchup.gemspec
|
103
104
|
- lib/cocoapods-binary-matchup/Integration.rb
|
104
105
|
- lib/cocoapods-binary-matchup/Integration_cache.rb
|