cocoapods-bb-bin 0.2.11.0 → 0.2.11.2

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: 3bbdaa7c4a01e82ccfe315a0393892e112930c6eeb60f5c9be70dad5db4f2bc1
4
- data.tar.gz: 28cb9d9c2a550785e211f829dbd235a9b63fddbe8f5ef1cecdd0f62c06ca63d1
3
+ metadata.gz: 5c1d12cd707ce83a08ff86a50398891ee690534ab84f51dc0c20b080de223ed0
4
+ data.tar.gz: 7a11b0891f3affac2c4086210a1d60d9bba52c4b9ff13956f073963c5fb51cb9
5
5
  SHA512:
6
- metadata.gz: 39979f4ad9dcab81c5873ed026e9a229c71453c465f849e3b669a2ba7e1ba1d038d29de27c87a1963e3aae3406d82a1a98645cd6f37e05f848b0d267dc9f736f
7
- data.tar.gz: 58c299b507e278edce13689d41dcd014518b1fc08cda18e410e26a53dc2a3267c879ab155877f504fbbbf16ee84421bb461a8c8964ff7ebbd90664cf2ba2c805
6
+ metadata.gz: 5417ba4a86f7c2558065fcdfccef8d83ff5da03e93e78b9c6cef522eb359c8617d1f47357d680e56e8a64c4b6bc00ac5b06f5e5204926c498b24e1fc07438b2b
7
+ data.tar.gz: 54ef0b8193944dcc946a0bdcffee02ca4ff567b20d346fb1277f0f622e3ba932a6163344f097c29b4422d333777f70b7118051cb690a2c4ecffe132c0bf2c3cb
@@ -68,7 +68,7 @@ module Pod
68
68
  @spec_sources = @sources
69
69
  if @xcframework_output || @xcframework_dylib_output
70
70
  # 生存xcframework优先使用源码仓库\二进制仓库
71
- @spec_sources = "#{sources_optionV2(@code_dependencies, nil)},https:\/\/cdn.cocoapods.org"
71
+ @spec_sources = "#{sources_optionV2(@code_dependencies, nil)}"
72
72
  end
73
73
  end
74
74
 
@@ -114,7 +114,7 @@ module Pod
114
114
 
115
115
  def run_archive
116
116
  argvs = [
117
- "--sources=#{sources_option(@code_dependencies, @sources)},https:\/\/cdn.cocoapods.org",
117
+ "--sources=#{sources_option(@code_dependencies, @sources)}",
118
118
  @additional_args
119
119
  ]
120
120
 
@@ -1,7 +1,7 @@
1
1
  require 'cocoapods'
2
2
 
3
3
  module CBin
4
- VERSION = '0.2.11.0'
4
+ VERSION = '0.2.11.2'
5
5
  end
6
6
 
7
7
  module Pod
@@ -42,7 +42,7 @@ module CBin
42
42
  argvs = [
43
43
  "#{customsource.name}", # repo
44
44
  "#{source_podsepc_json}", # spec
45
- "--sources=#{customsource},https:\/\/cdn.cocoapods.org",
45
+ "--sources=#{customsource}",
46
46
  "--skip-import-validation",
47
47
  "--use-libraries",
48
48
  "--allow-warnings",
@@ -91,6 +91,7 @@ module Pod
91
91
  # >= 1.5.0 ResolverSpecification 才有 source,供 install 或者其他操作时,输入 source 变更
92
92
  #
93
93
  if Pod.match_version?('~> 1.4')
94
+ # pod in / up进行拦截,该入口目前使用使用上,如果继续执行pod指令出现异常可以考虑把当前函数删除,避免hook导致异常操作
94
95
  old_resolver_specs_by_target = instance_method(:resolver_specs_by_target)
95
96
  define_method(:resolver_specs_by_target) do
96
97
  specs_by_target = old_resolver_specs_by_target.bind(self).call
@@ -135,7 +136,8 @@ module Pod
135
136
  specification = source.specification(rspec.root.name, spec_version)
136
137
  UI.message "#{rspec.root.name} #{spec_version} \r\n specification =#{specification} "
137
138
  # 组件是 subspec
138
- if rspec.spec.subspec?
139
+ # subspec_by_name 函数远端spec查找subspec,如果第一次生成组件不会存在,故做条件过滤 by hm 25/4/9
140
+ if use_binary && rspec.spec.subspec?
139
141
  specification = specification.subspec_by_name(rspec.name, false, true)
140
142
  end
141
143
  # 这里可能出现分析依赖的 source 和切换后的 source 对应 specification 的 subspec 对应不上
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11.0
4
+ version: 0.2.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-04-01 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: parallel
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  - !ruby/object:Gem::Version
219
219
  version: '0'
220
220
  requirements: []
221
- rubygems_version: 3.6.5
221
+ rubygems_version: 3.7.2
222
222
  specification_version: 4
223
223
  summary: cocoapods-bb-bin is a plugin which helps develpers switching pods between
224
224
  source code and binary.