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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 184a6220427b79707cf3cfb94beb5a2c16ea3cb9058f078a8909b32bdb574470
4
- data.tar.gz: 58dadf0f4be9a9dd33de364620e3e99f5b43d6d163ce9b2c006c6f4f2c73255d
3
+ metadata.gz: e7e74656ba959137bc467283d6f0187e12fdd347d4e32a8febe29378e30edd1f
4
+ data.tar.gz: 2f7a94d654c0bfac6d802ae6146f546883b2c21beb2c39ff25a8fdc079d5bb79
5
5
  SHA512:
6
- metadata.gz: d8393aa23fdef81031b7ee623c38b8d64f3445e5c995e7c8276344d99e07e187ade2b97617b54072180b6de60a298402c3f335f9f54b446c0fd09cc8ba0160e1
7
- data.tar.gz: 3ca73881c378c5935cc767a346547924f0c80a5db761188d0c2ad0cf0e6d360b2f20b9ce9b364550ca2101f8dc525519cf8ae5ab729d7d285bea2402d077a4ad
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
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBinary
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -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 = target.platform.deployment_target.to_s
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
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